Re: [PATCH 07/10] t5100-mailinfo.sh: use the $( ... ) construct for command substitution
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Dec 22, 2015, 18:35 UTC
- Message-ID
- <567997E4.1000700@kdbg.org>
- In-Reply-To
- <1450798073-22811-8-git-send-email-gitter.spiros@gmail.com>
Am 22.12.2015 um 16:27 schrieb Elia Pinto:
> -for mail in `echo 00*` > +for mail in $(echo 00*)
> -for mail in `echo rfc2047/00*` > +for mail in $(echo rfc2047/00*)
True, these are equvalence transformations. But a better way to get rid of the back-quotes is to write these lines as
for mail in echo 00* for mail in echo rfc2047/00*
No?
-- Hannes