Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!cbmvax!hutch!rabbit1!dml From: dml@rabbit1.UUCP (David Langdon) Newsgroups: net.unix,net.unix-wizards Subject: Re: sh changes Message-ID: <172@rabbit1.UUCP> Date: Thu, 19-Jun-86 17:59:08 EDT Article-I.D.: rabbit1.172 Posted: Thu Jun 19 17:59:08 1986 Date-Received: Sat, 21-Jun-86 11:52:54 EDT References: <18951@rochester.ARPA> Organization: Rabbit Software Corp., Malvern PA Lines: 29 Xref: watmath net.unix:8283 net.unix-wizards:18517 > > ${parameter:-word} ... > ${parameter:=word} ... > ${parameter:?word} ... > ${parameter:+word} ... > > In case you missed it, the difference is the extra colon in the Sun 3.0 > system. Questions: when and why was this change made? Are there any > other variants of Unix with this change? Has anybody's command file > broken on account of this? > > Ken Don't know the real answer to this, but from what ksh (korn shell) documentation I have seen, the Sun 3.0 sh uses the same syntax as the korn shell (which is supposed to be sh compatible). -- ----------------------------------------------------------- David Langdon Rabbit Software Corp. ...!ihnp4!{cbmvax,cuuxb}!hutch!dml ...!psuvax1!burdvax!hutch!dml (215) 647-0440 7 Great Valley Parkway East Malvern PA 19355