john wrote: > On 3/23/2021 5:26 PM, Robert Elz wrote: > > Date: Tue, 23 Mar 2021 08:28:24 -0400 > > From: Paul Fox <[email protected]> > > Message-ID: <[email protected]> > > > > | 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, [email protected] (arlington, ma, where it's 57.2 degrees)
