Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!asg From: asg@sage.cc.purdue.edu (The Grand Master) Newsgroups: comp.unix.shell Subject: Re: bash documentation Keywords: bash Message-ID: <6600@mentor.cc.purdue.edu> Date: 22 Feb 91 15:05:48 GMT References: <1991Feb20.203710.21944@progress.com> <6463@mentor.cc.purdue.edu> <1991Feb22.012713.24134@cbnews.att.com> Sender: news@mentor.cc.purdue.edu Reply-To: asg@sage.cc.purdue.edu (The Grand Master) Organization: Purdue University Lines: 22 In article <1991Feb22.012713.24134@cbnews.att.com> lvc@cbnews.att.com (Lawrence V. Cipriani) writes: %In article <6463@mentor.cc.purdue.edu> asg@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 Brought to you by Super Global Mega Corp .com