Useful functions for shell. String, Map, Set, Stack, Date, Random and others
This repo is intended to extend the shell and contain useful and readable functions that help developers to maintaine their scripts easier and neatly.
The following packages (which basically functions) are available.
The next container based packages are also available
And String as well
Check out the repository and source the file which you want to use.
source 'queue.sh'
# I create a queue called fruits
queue create fruits
# put an element to queue
queue enqueue fruits apple
queue peek fruits
queue destroy fruits
For more information, take a look at the utils wiki page: wiki