The $() syntax is newer than the command files. i.e. it was not available when they were written.
On 4 November 2017 at 22:58, Philippe Mouawad <[email protected]> wrote: > No idea why it’s like this > > On Saturday, November 4, 2017, Felix Schumacher < > [email protected]> wrote: > >> Hi all, >> >> we have both forms of execution commands in our shell scripts. >> >> $(...) is the more modern form and should be preferred over `...` as >> explained on https://github.com/koalaman/shellcheck/wiki/SC2006 >> >> Does anyone know, if there is a reason for using the old form `...` in >> our scripts? >> >> Regards, >> Felix >> > > > -- > Cordialement. > Philippe Mouawad.
