in reply to In-place edit on tabular data not working
perl -i.bak -lape '$F[4] =~ s/.*y.*/yes/; $_ = join "\t", @F' results. +txt
-p says to use print, which prints $_ by default.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: In-place edit on tabular data not working
by gothamcity (Initiate) on Oct 18, 2010 at 18:48 UTC |