Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!att!ihlpf!lukas From: lukas@ihlpf.ATT.COM (00771g-Lukas) Newsgroups: comp.unix.questions Subject: sh syntax question Message-ID: <8332@ihlpf.ATT.COM> Date: 24 Apr 89 15:53:50 GMT Reply-To: lukas@ihlpf.UUCP (Lukas,J.) Distribution: usa Organization: AT&T Network Systems - Lisle Illinois Lines: 15 Thanks to Chris Torek, Greg Ubben, and Dave Elliott for their replies. The answer seems to be that that is just the way that it is. In the case of the Bourne shell anyway, ";" does not always equal a . BTW. As Greg pointed out: > Also, someone pointed out that there is a very trivial bug with "$@" in > Bourne shell only, in that if there are no arguments, "$@" will actually > expand to one null arguement. Use ${@:+"$@"} to fix this. -- John Lukas att!ihlpf!lukas 312-510-6290