[16820] in Athena Bugs

home help back first fref pref prev next nref lref last post

add and backticks

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Apr 22 00:55:25 1999

Date: Thu, 22 Apr 1999 00:55:12 -0400 (EDT)
From: Greg Hudson <ghudson@MIT.EDU>
To: bugs@MIT.EDU

Being able to explicit paths with the add command is pretty neat.
Unfortunately, you can't use that in combination with athdir or any
other command using backticks in the add invocation, or you get
confusing results.  For example:

	add -f `athdir /mit/gnu gbin`

expands to:

	eval `/bin/athena/attach -Padd $add_flags -f `athdir /mit/gnu gbin``

which results in no changes to the environment and the display of:

	<pretty printed path sent to stderr>
	<output of athdir /mit/gnu gbin>

Unfortunately, I don't know if this bug can be fixed in the tcsh
dotfiles without other negative effects.  It's easy with bourne shell
functions, of course.

home help back first fref pref prev next nref lref last post