Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: perl one liner print columns 2.. last

by eyepopslikeamosquito (Archbishop)
on Jan 04, 2013 at 23:34 UTC ( [id://1011739]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cat /tmp/1.out|perl -lane 'print $F[1]..$F[-1]'
    
  2. or download this
    perl -lane 'print join q{ }, @F[1..$#F]' /tmp/1.out
    
  3. or download this
    perl -lape '$_=join q{ }, @F[1..$#F]' /tmp/1.out
    
  4. or download this
    perl -lpe 's/\s*\S+\s*//' /tmp/1.out
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found