bash documentation

The Grand Master asg at sage.cc.purdue.edu
Sat Feb 23 02:05:48 AEST 1991


In article <1991Feb22.012713.24134 at cbnews.att.com> lvc at cbnews.att.com (Lawrence V. Cipriani) writes:
%In article <6463 at mentor.cc.purdue.edu> asg at sage.cc.purdue.edu (The Grand Master) writes:
%>Tilde expansion:
%>
%>This shell does tilde  expansion:
%>
%>~ = $HOME
%>~/foo = $HOME/foo
%>~fred/foo = (fred's home directory)/foo
%>~+/foo = $PWD/foo
%>~-/foo = $OLDPWD/foo
%
%Is ~ expansion done at read time or execute time?  Doing it at read time
%can lead to suprising results when ~ expansion is present in aliases.
It is done at execute time
%--
%You've got some great ideas in there; I forwarded a copy to Dave Korn.
Thanx for the compliment, but I did not write bash - I just happened
to have a copy of this documentation and someone asked for it.

				Bruce Varney
				    The Grand Master



More information about the Comp.unix.shell mailing list