Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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
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

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 contemplating the Monastery: (12)
As of 2015-07-07 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls