Päivän pituus one-liner
16:56
<code>/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'</code>
Sorry, the comment form is closed at this time.
3 Responses to “Päivän pituus one-liner”
Päätyi .profileen aliaksena.
Comment by Timo — 14.01.2011 10:39
regexps, can’t live without them, well, you just can’t live without them.
Comment by timperi — 28.01.2011 15:35
Regexps are kinda sexy. Or I might be kinda nerdy. ;)
Comment by Mervi Eskelinen — 18.02.2011 01:50