Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 pondering the Monastery: (12)
As of 2014-12-27 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls