Hello, Panu Kalliokoski wrote:
However, the possibility of using semicolons in not mentioned on sed's man page nor in its info document. Instead, both insist that every command must be on its own line.
There's now a dedicated section in gnu sed's manual about multiple commands and semicolons: https://www.gnu.org/software/sed/manual/html_node/Multiple-commands-syntax.html#Multiple-commands-syntaxIt is included in the texinfo file of sed-4.4 (which is now in 'testing').
regards, - assaf