sjh - mountain biking running linux vegan geek spice - mtb / vegan / running / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: https://svana.org/sjh
twitter: https://twitter.com/sjhmtb
instagram: https://instagram.com/sjhmtb

Other online diaries:

Aaron Broughton,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Martijn van Oosterhout,
Michael Davies,
Michael Still,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Girl Genius,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

February
Mon Tue Wed Thu Fri Sat Sun
       
26    

2008
Months
Feb

Categories:

Archive by month:

Tue, 26 Feb 2008

Be exact - 16:42
Maybe I am being pedantic, maybe I am simply looking for an excuse to write a diary entry, however I found this sort of amusing today.

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...

[/various] link


home, email, rss, rss2.0, atom