Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: What one-liners do people actually use?

by Kanji (Parson)
on Dec 08, 2005 at 19:29 UTC ( #515346=note: print w/replies, xml ) Need Help??

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 :-)


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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://515346]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2016-10-27 17:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (366 votes). Check out past polls.