Write lifo

Purpose: Write key/value pair into a LIFO list.

 write-lifo <list> \
     key <key> \
     value <value>

write-lifo adds a pair of key/value to the LIFO <list>, specified with strings <key> and <value> (in "key" and "value" clauses, collectively called an "element").

It always adds an element so that the last one written to <list>  would be the first to be read with read-lifo.
Examples
 new-lifo nf
 write-lifo nf key "mykey" value "myvalue"



Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.