4 ms·
IIRC this is how fortune[1] selects a message fairly given the crappy database format it uses (possible fortunes are separated by lines containing just '%' [1]
by pacaro 12y ago
IIRC this is how fortune[1] selects a message fairly given the crappy database format it uses (possible fortunes are separated by lines containing just '%'
[1] http://en.wikipedia.org/wiki/Fortune_(Unix) http://en.wikipedia.org/wiki/Fortune_(Unix)