Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: perl one liner print columns 2.. last

by dbuckhal (Monk)
on Jan 04, 2013 at 19:06 UTC ( #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)

Comment on Re: perl one liner print columns 2.. last
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-02-27 08:11 GMT
Find Nodes?
    Voting Booth?

    On my keyboard, Caps lock is:

    Results (441 votes), past polls