Great, thanks, also noting comments from ikegami.
My use-case is part of a bigger setting whereas I find it convenient/simpler/fool-proof to slurp the whole file (tiny file sizes). So, I will not use -l but will use -0777. And I will use -p not because of its loop around the chunks being slurp at the tiem but because of its final print.
In reply to Re^2: Oneliner replace in-place adds extra spaces at the end of the file
by bliako
in thread Oneliner replace in-place adds extra spaces at the end of the file
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |