Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: perl one liner print columns 2.. last

by LanX (Canon)
on Jan 04, 2013 at 19:24 UTC ( #1011707=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > echo - 2 - - - 6|perl -lane 'print $F[1]..$F[-1]'
    23456
    
  2. or download this
    > echo - 2 - - - 6|perl -lane 'print @F[1..$#F]'
    2---6
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-07-28 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (203 votes), past polls