From: Dan McGee Date: Thu, 01 Nov 2007 05:27:59 GMT Subject: Re: [PATCH] rebase: standardize on $() for command substitution Message-ID: <449c10960710312227s6688cc5fne9ff246e042cdc3c@mail.gmail.com> In-Reply-To: <7vr6jaczps.fsf@gitster.siamese.dyndns.org> On 11/1/07, Junio C Hamano wrote: > Dan McGee writes: > > > Commit 889a50e909dba5f4416049afc5eeae601fe133bc changed several `` to $() > > format for command substitution, so we should standardize on one format > > for clarity. > > ... > > @@ -203,7 +203,7 @@ do > > -s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy) > > case "$#,$1" in > > *,*=*) > > - strategy=`expr "z$1" : 'z-[^=]*=\(.*\)'` ;; > > + strategy=$(expr "z$1" : 'z-[^=]*=\(.*\)'` ;) > > 1,*) > > usage ;; > > *) > > The patch might have meant well, but it is a rather unnecessary > code churn without fixing anything and introducing a bug X-<. Wow, back to the drawing board here. I've been up too long today. -Dan