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
In reply to Re: how to in-place update a dataset?
by jaredor
in thread how to in-place update a dataset?
by littlewenwen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |