Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 contemplating the Monastery: (8)
As of 2015-05-22 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (465 votes), past polls