On Tue, 26 Feb 2002, Jim Knoble wrote: > Date: Tue, 26 Feb 2002 19:59:44 -0500 > From: Jim Knoble <[EMAIL PROTECTED]> > To: blackbox <[EMAIL PROTECTED]> > Subject: Re: bbsession script v0.02 > > Circa 2002-Feb-26 17:14:27 -0500 dixit Jan Schaumann: > > : Sean 'Shaleh' Perry <[EMAIL PROTECTED]> wrote: > : > yep '~' is a GNU ism (-: > : > : It is? > > No, it isn't. It first appeared in the C-shell, and soon after that in > the Korn shell. Subsequent shells (including GNU Bash) got it from one > of those two places. > > I have no idea if "~" is actually specified in the POSIX shell (IEEE > 1003.2) or subsequent standards, such as SUSv3, because IEEE and the > Open Group seem to charge money for the standards, which i can't afford > to pay. > > : So "~" is not functional in the original Bourne Shell? > > No. "${HOME}" is pretty much functional everywhere, though. > > -- > jim knoble | [EMAIL PROTECTED] | http://www.pobox.com/~jmknoble/ >
"Tilde Expansion" is part of the ieee 1003.1-2001 posix standard that was just released a few weeks ago by the Open Group and IEEE, as well as the Unix98 and Unix95 standards (ieee 1003.1-1990). This encorporates Unix specs 1, 2 and 3, so it has been a standard for over ten years. As we have been talking about the use of ksh88 with Solaris as the default shell, that was written before the posix 1003.1-1990 standard was released. David