/dev/nikc/blog

Kuolleiden purjehduskenkien seura

Jan 13th 2011

Päivän pituus one-liner

16:56

/usr/bin/curl -s http://ilmatieteenlaitos.fi/saa/Helsinki|/usr/bin/grep "Päivän pituus"|/usr/bin/sed -e 's/^[ ]*//' -e 's/<[/]\{0,1\}[^>]*>//g'

3 Responses to “Päivän pituus one-liner”

Päätyi .profileen aliaksena.

regexps, can't live without them, well, you just can't live without them.

Regexps are kinda sexy. Or I might be kinda nerdy. ;)

Sorry, the comment form is closed at this time.

Meta

Pages

Search blog

Latest comments