Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: multicolumn extraction

by NetWallah (Abbot)
on Jun 03, 2012 at 18:06 UTC ( #974174=note: print w/ replies, xml ) Need Help??


in reply to Re: multicolumn extraction
in thread multicolumn extraction

For the one-liner, the pattern for the -F flag needs to be escaped, since the shell will gobble the first "\":

perl -apF\\t -e '$_="$F[1]\t$F[3]\n"'

             I hope life isn't a big joke, because I don't get it.
                   -SNL


Comment on Re^2: multicolumn extraction
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (17)
As of 2014-07-11 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (227 votes), past polls