I need a hash table cli that stores the last 30 hashes, like so: if ! hash-cli g...
William D. Jones @cr1901@mastodon.social
I need a hash table cli that stores the last 30 hashes, like so:
if ! hash-cli get $MY_HASH hash.db; then
if do_stuff(); then
hash-cli store $MY_HASH hash.db
hash-cli prune hash.db # keep last 30
fi
fi
Is there anything like that pre-existing in POSIX/Unix land, or do I have to roll my own?