Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974174]
help
Chatterbox?
[LanX]: what no stars want to sing for Trump? (... even not Paris Hilton?)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-01-18 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.