From: Robert Watson Date: Fri, 23 Sep 2005 08:32:26 GMT Subject: Re: uncommon shell code Message-ID: <72499e3b05092301322a145e52@mail.gmail.com> In-Reply-To: <7vu0gclpyo.fsf@assigned-by-dhcp.cox.net> On 9/22/05, Junio C Hamano wrote: > Robert Watson writes: > > > I found the following shell code in git-tag.sh (and others): > > My fault; see point 2. in this article: > > http://marc.theaimsgroup.com/?l=git&m=112386506308820&w=2 > > Please either get used to it or wait until I decide to modernize > the scripts wholesale, whichever comes first. > I see. I thought I was old fashioned by sticking to test instead of [] (that is your point 1), but obviously I am not old enough ;) Well, it's fine now that I know what it is. But it hurts readability, and probably it's a good idea to simplify it. Any reasonable shell should built-in test(1)? Robertoo