Steven email: sjh@svana.org
web: https://svana.org/sjh Other online diaries:
Aaron Broughton, Links:
Linux Weekly News, Canberra Weather: forecast, radar.
Categories:
|
Tue, 26 Feb 2008
Be exact - 16:42
Someone on irc said "what a f***ing day", which we can of all course assume the intention of the sentence from. However if we assume glob expressions or some kind of regular expressions it could be all sorts of strange kinds of day.
[16:40:38] 53 jackass sjh ~>grep ^f...ing$ /usr/share/dict/words | wc -l 70 [16:40:42] 54 jackass sjh ~>grep ^f.*ing$ /usr/share/dict/words | wc -l 318 The first is of course assuming we are simply replacing each * with some random letter and looking through the dictionary, the second option is treating a * as a sort of glob expressions as a shell might expand it, though more than one * is overkill of course. I do wonder, maybe the day has been filling up with fooling around filming fishing and farming things... |