http://qs1969.pair.com?node_id=515355


in reply to What one-liners do people actually use?

Over the years I've found that I'm far too lazy to keep typing one liners so they usually end up as a tiny script in my $HOME/bin. I found myself typing the following one liner this week and because of its length, it immediately became $HOME/bin/sectostr.

perl -e 'use POSIX qw(strftime);print strftime("%H:%M:%S\n",974,0,0,0, +0,0);'

-- vek --