I thought this could be solved with something like -l0666,
Take a look at perlrun, -0777 will slurp the entire file. Here's a working one-liner: perl -i.bak -0777 -ne 'print "{$_}"' filenameGood luck!
In reply to Re: multi-line in-place edits
by bmann
in thread multi-line in-place edits
by Tuppence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |