Re: [PATCH 2/8] Do not use shell's old-style command substitution
Steffen Nurpmeso <[email protected]>
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <20260225023846.mQAG04gD@steffen%sdaoden.eu> |
Rene Kita wrote in <[email protected]>: |To quote the BashFAQ[0]: |Why is $(...) preferred over `...` (backticks)? | |The `cmd` backtick format is the legacy syntax for command substitution, |required only by more than 30-year-old Bourne shells. ... | |[0]: http://mywiki.wooledge.org/BashFAQ/082 Sven Mascheck is widely known to be always good on interest: https://www.in-ulm.de/~mascheck/various/cmd-subst/ Btw the Plan9 rc shell of the really great ones use[sd] `{ .. }, or even only `cmd for one command. https://doc.cat-v.org/plan_9/2nd_edition/papers/rc/ There is a POSIX port at https://github.com/rakitzis/rc.git --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)