nmh-workers
[Top] [All Lists]

Re: improved mh-chart man page

2021-03-23 14:15:51
john wrote:
On 3/23/2021 5:26 PM, Robert Elz wrote:
     Date:        Tue, 23 Mar 2021 08:28:24 -0400
     From:        Paul Fox 
<pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us>
     Message-ID:  
<20210323122824(_dot_)E92CA518004D(_at_)grass(_dot_)foxharp(_dot_)boston(_dot_)ma(_dot_)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.


$() is less prone to errors (1, Command Substitution).

Excellent.  Thanks.  I only used the backticks because they'd already
been used in that script, and I couldn't remember how strict we were
being about our build environment.

I'll change them all to $(...).  I haven't personally used a backtick
in my own scripts for...  decades?  I'd actually forgotten the baroque
behavior of backlash quoting.

And echo --> printf.  Again, I was nervous about introducing it.

paul
=----------------------
paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, where 
it's 57.2 degrees)


<Prev in Thread] Current Thread [Next in Thread>