> sed /^$/d will wipe empty lines wherever they're found, instead of only
> removing those at the end of a document.

ohh .. indeed. i have to admit i don't use sed for this kind of flow
control because i try to keep my scripts as simple as possible so my
move over it would has been

    tac | awk 'i || /./ && i=1' | tac

yet it's always interesting to see other techniques.

> Now compare the output of `groff -Tutf8 ./test.roff` with man `./test.roff`.

also enlightening :)

thank you.
marc

Reply via email to