nmh-workers
[Top][All Lists]
Advanced

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

Re: improved mh-chart man page


From: Robert Elz
Subject: Re: improved mh-chart man page
Date: Tue, 23 Mar 2021 23:26:32 +0700

    Date:        Tue, 23 Mar 2021 08:28:24 -0400
    From:        Paul Fox <pgf@foxharp.boston.ma.us>
    Message-ID:  <20210323122824.E92CA518004D@grass.foxharp.boston.ma.us>

  | Are we allowed to use $(...) instead of `...` ?

I would.  I cannot imagine any shell anyone is likely to really use
which doesn't support that.

I'd also use printf instead of echo - even if the shell doesn't have
printf built in (possible, if unlikely) the command will exist.  echo
is just too bizarre on some systems (especially since *roff input is
a place where \ characters abound, and those are how you can shoot
yourself with echo).

And quote expansions almost always, no matter how safe you believe they
are.

These latter two probably don't matter for the current nmh man page set,
but for the future, who knows.

kre





reply via email to

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