Re: uncommon shell code
- From
- Robert Watson <robert.oo.watson@gmail.com>
- Date
- Sep 23, 2005, 08:32 UTC
- Message-ID
- <72499e3b05092301322a145e52@mail.gmail.com>
- In-Reply-To
- <7vu0gclpyo.fsf@assigned-by-dhcp.cox.net>
On 9/22/05, Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> Robert Watson <robert.oo.watson@gmail.com> 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