http://www.perlmonks.org?node_id=515346


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

A lot of my one-liners tend to be cheap knock-offs of everyday Unix commands to make my Windows use more productive without having to install Cygwin, Win32 ports, pure-Perl ports, etc.

Seen particularly often...

perl -ne "END { print $. }" # wc -l perl -de 1 # used as bc but could be anything :-)

    --k.


Replies are listed 'Best First'.
Re^2: What one-liners do people actually use?
by TomDLux (Vicar) on Dec 09, 2005 at 18:31 UTC

    I used to use perl -d -e 0or perl -d -e 1 but once I found out about perl -demo, I decided that was a lot cooler.

    --
    TTTATCGGTCGTTATATAGATGTTTGCA