[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: autogen.sh patch

From: Bob Miller <kbob_at_jogger-egg.com>
Date: 2000-09-27 18:09:56 CEST

Bruce Korb wrote:

> Better make that ``test $? -ne 0'' unless you're absolutely sure that
> everyone who uses this will be using a modern shell. (Someone complained
> of my product only yesterday.....)-:

Square bracket as an alias for test has been around at least since
1976, when the original Bourne shell was written. It used to be a
hard link, /bin/[, not a shell builtin, which is why obsolete Unix
programmers write it as "case $? in;0);;*)echo ...;;esac", to save a
fork/exec.

Oops, I slipped into nostalgic old fart mode. Sorry...

-- 
                                        K<bob>
kbob_at_jogger-egg.com, http://www.jogger-egg.com/
Received on Sat Oct 21 14:36:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.