Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!icdoc!doc.ic.ac.uk!lmjm From: lmjm@doc.ic.ac.uk (Lee McLoughlin) Newsgroups: gnu.bash.bug Subject: Bash bug? Message-ID: <1466@gould.doc.ic.ac.uk> Date: 21 Jan 90 20:05:38 GMT Sender: lmjm@doc.ic.ac.uk Reply-To: lmjm@doc.ic.ac.uk (Lee McLoughlin) Distribution: gnu Organization: Dept. of Computing, Imperial College, London. U.K. Lines: 34 I cannot remember seeing this discussed before and I was just almost burned by it. With the following setup: BASH_VERSION=1.04.1 alias pd=mypushd mypushd() { pushd $1; cwd=`pwd`; mytitle "$HOST:$cwd"; } (I use these and a few more macros to get have my host and path in my xterm titlebars.) pd seems to work happily except in the following case: tar cf - . | (pd ; tar xvf - ) Where I get: pd: command not found Followed by tar trying to unload my files back ontop of themselves! In fact none of my aliases are available inside '(...)' statement lists. I can't really belive that this is a feature. So I must presume its a bug. Any ideas on how to work around this - or of stupid things I may be doing to bring this problem on myself? Lee