From: Timo Hirvonen Date: Mon, 23 Jul 2007 20:58:35 GMT Subject: Re: [PATCH] Fix problematic ']' Message-ID: <20070723235835.36b6d87a.tihirvon@gmail.com> In-Reply-To: <200707232236.21389.johannes.sixt@telecom.at> Johannes Sixt wrote: > Not all shells grok a closing ']' of the shell '[' command without > surrounding space. That's one good reason to use test instead of /usr/bin/[ hack (yes it has been a shell built-in for a long time). [ is just like test but expects ] as last parameter and ignores it. Very ugly IMO. -- http://onion.dynserv.net/~timo/