Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: how to in-place update a dataset?

by jaredor (Curate)
on Mar 14, 2013 at 07:15 UTC ( #1023397=note: print w/ replies, xml ) Need Help??

in reply to how to in-place update a dataset?

Use the -i option for command line perl, e.g,

perl -pi -e 'chomp; ($_ = "\t$_\t") =~ s/\t(?=\t)/\tMissing/g;' \ -e 's/\A\t//; s/\t\Z/\n/;' RawFile

Replies are listed 'Best First'.
Re^2: how to in-place update a dataset?
by littlewenwen (Novice) on Mar 14, 2013 at 14:24 UTC
    Wow! There is so much information in all of your replies that I may need some time to digest. Thank you all very much for great help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2016-07-29 09:21 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (260 votes). Check out past polls.