in reply to Re^2: Oneliner replace in-place adds extra spaces at the end of the file
in thread Oneliner replace in-place adds extra spaces at the end of the file

Do note that 0777 does not slurp all input, just until EOF; with multiple input files it loops over them, one chunk per file.
  • Comment on Re^3: Oneliner replace in-place adds extra spaces at the end of the file

Replies are listed 'Best First'.
Re^4: Oneliner replace in-place adds extra spaces at the end of the file
by bliako (Abbot) on Oct 30, 2025 at 23:39 UTC

    Oh OK