Bug#284646: sed: Documentation does not properly document effects of multiple commands

2017-02-24 Thread Assaf Gordon

Hello,


- it is not specified whether address selections following a command
  act on unchanged input lines [...] or on the lines as changed by the 
  previous command


I've clarified this point in sed's manual and man-page:
https://git.savannah.gnu.org/cgit/sed.git/commit/?id=de6b6ccd7400b6483ecee5eebc7d48666b497680

regards,
- assaf



Bug#284646: sed: Documentation does not properly document effects of multiple commands

2017-02-23 Thread Assaf Gordon

Hello,


- Usage of multiple commands [...]
- The possibility to use a semicolon instead of a newline [...]


12 years later, 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-syntax

It is included in the texinfo file of sed-4.4 (which is now in 
'testing').



- it is not specified whether address selections following a command
  act on unchanged input lines [...] or on the lines as changed by the 
  previous command


That's a good point.

The 'address' section is much expanded:
https://www.gnu.org/software/sed/manual/html_node/sed-addresses.html#sed-addresses

But I'll add explicit mention of this issue.

regards,
- assaf