groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how far can i go with grotty?


From: Marc Chantreux
Subject: Re: how far can i go with grotty?
Date: Mon, 27 Jul 2020 10:46:58 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

> 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

[Prev in Thread] Current Thread [Next in Thread]