or as a one-liner: perl -pe "BEGIN{$/='RowwoR'}; s/RowwoR/\n/" file > file2$/='RowwoR'; while (<>) { chomp; print $_, "\n"; }
In reply to Re: search/replace very large file w/o linebreaks
by Roy Johnson
in thread search/replace very large file w/o linebreaks
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |