Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: What one-liners do people actually use?

by gordoste (Initiate)
on Jan 03, 2006 at 00:39 UTC ( #520482=note: print w/replies, xml ) Need Help??


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

perl -lpe '$_=$!=$_'
Translates UNIX error codes to English.

Sufficiently advanced Perl is indistinguishable from garbage.

Replies are listed 'Best First'.
Re^2: What one-liners do people actually use?
by jmcnamara (Monsignor) on Jan 03, 2006 at 00:55 UTC
    Nice. ++

    I use this for a static list:

    perl -le 'print $!+0, "\t", $!++ for 0..127'
    There are some other variations here.

    --
    John.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520482]
help
Chatterbox?
[Sinistral]: nail in coffin was the rant against a Schwarzian Transform
[stonecolddevin]: at best, from what i've seen, his knowledge is accurate up to maybe 2002. the sheer volume of words is mostly worthy of a downvote in most cases though i think
[erix]: ITYM Schwartzian Transform :P
[erix]: hey planetscape :)
[planetscape]: howdy stonecolddevin, erix
[Sinistral]: eric Aye. I thought I typed that wrong. All hail Randall! I listen to him on FLOSS Weekly
[Discipulus]: i think his vacuus, trombon like, absence of meaning, joined with a ostentatious style, after many years irritates the most
[erix]: easy to get wrong -- I guess that was sund's point, too :P
[Discipulus]: planetscape welcome back! (or is well comeback?)
[Discipulus]: fore every 2 good old monks that come back, we will accept 1 clinical

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-06-22 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (530 votes). Check out past polls.