Updating cookies
Updating cookies
Applies to Xubuntu 11.10
I create my email .sig by concatenating standard name & telno text to output from the cookie program, which has as its input a list of quotes I like.
I keep the boilerplate text in a file 'signature' and quotes in a file 'myfortune'. The command to generate a random .sig is:
cat signature && fortune ~/myfortune
Whenever 'myfortune' is edited, the corresponding .dat file must be updated; this is done with the command:
strfile myfortune myfortune.dat
Note that this is specific to Linux and then only certain versions - there are at least two other ways for 'fortune' cookie data to be stored.