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

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: http://svana.org/sjh

Other online diaries:

Aaron Broughton,
Alison Russell,
Allan Bontjer,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Jeremy Kerr,
Martijn van Oosterhout,
Michael Carden,
Michael Davies,
Michael Still,
Rusty Russell,
Tim Potter,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Userfriendly,
Questionable Content,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

planet sjh
(online feed aggrgator for all the diaries I read regularly)

February
Mon Tue Wed Thu Fri Sat Sun
       
26    

2008
Months
Feb
Oct Nov Dec

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