| ||||||
| 5/17 |
| 2001/4/18 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:21022 Activity:high |
4/18 I want to filter a file with sed and store the output back into
the same file. Is there a way to do this without a temp file?
\_ no, if you want to do this use either awk or perl (perferably
perl)
\_ Please use a language (preferably English).
\_ perl -pi -e 's/.../.../g ; s/other/foo/g' file1 file2 ...
\_ yes. |