Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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]
[choroba]: So the "a" is different, not the "s" ;-)
[LanX]: people knowing that it's a workaround will pronounce it right
[LanX]: well
[LanX]: Maße and Masse are two very different words.
LanX (measures/mass)
[Tanktalus]: choroba: thanks, not sure why it wasn't doing that for me, but will try to figure it out. :)
[LanX]: can I copy a authotification cookie from mozilla and reuse it in LWP::Useragent?
[LanX]: nevermind
Tanktalus is at work, ssh'd home, using his cbstats bridge to talk on perlmonks CB. :)
[Tanktalus]: anyway, next is to figure out how to get postgres to agree that these are the same :)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2018-03-21 15:51 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (269 votes). Check out past polls.