- zsh
- dirname
- readlink
- cut
- cat
- find
- fortune-mod (including
fortune
andstrfile
) - git
- sha1sum
- date
just pipe or enter (and terminate with EOF
/^D
) the quote, optionally specify a comment as the first (and only) command line argument
returns a quote (and some output on stderr, just 2>/dev/null
it if unwanted), optionally specify additional arguments to fortune
on the command line
just fork the project and optionally git rm quotes/*.u8
, if you don't want my quote collection.
the quotes are managed as one utf8 text file per quote (quotes/*.u8
) and autoexported on the fly to an alpabetically sorted fortune
database using strfile
by the two scripts.