From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: [PATCH 07/10] t5100-mailinfo.sh: use the $( ... ) construct for command substitution Date: Tue, 22 Dec 2015 19:35:16 +0100 Message-ID: <567997E4.1000700@kdbg.org> References: <1450798073-22811-1-git-send-email-gitter.spiros@gmail.com> <1450798073-22811-8-git-send-email-gitter.spiros@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit To: Elia Pinto , git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Dec 22 19:35:25 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aBRmO-0001JE-IP for gcvg-git-2@plane.gmane.org; Tue, 22 Dec 2015 19:35:24 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753591AbbLVSfU (ORCPT ); Tue, 22 Dec 2015 13:35:20 -0500 Received: from bsmtp8.bon.at ([213.33.87.20]:21610 "EHLO bsmtp8.bon.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752599AbbLVSfT (ORCPT ); Tue, 22 Dec 2015 13:35:19 -0500 Received: from dx.site (unknown [93.83.142.38]) by bsmtp8.bon.at (Postfix) with ESMTPSA id 3pQ5v90qm1z5tlJ; Tue, 22 Dec 2015 19:35:16 +0100 (CET) Received: from [IPv6:::1] (localhost [IPv6:::1]) by dx.site (Postfix) with ESMTP id 695295333; Tue, 22 Dec 2015 19:35:16 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <1450798073-22811-8-git-send-email-gitter.spiros@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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