Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: perl one liner print columns 2.. last

by dbuckhal (Chaplain)
on Jan 04, 2013 at 19:06 UTC ( [id://1011703]=note: print w/replies, xml ) Need Help??


in reply to perl one liner print columns 2.. last

I got this from an example in "Effective Perl Programming", pg 429. This will skip the first line of a file, but what type of columns are you trying to generate?
perl -ne "print unless $. == 1;" filename(s)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found