Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

    --k.



Comment on Re: What one-liners do people actually use?
Download Code
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-09-02 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls