Subject: Re: sh expanding alias in odd place
To: Hubert Feyrer <>
From: Simon J. Gerraty <>
List: tech-userlevel
Date: 11/02/2001 17:00:06
>Andreas Lohrum (CC:'d) pointed me at this funky problem, which arises
>occasionally when building pkgsrc/devel/pth (with some weird error in
>shtool line 1280, and some appropriate .profile settings).

>Running the script ("x") attached below with the following parameters

If you make the case statement:

"a" )
	echo a

it works as expected.

Aliases are totally evil in anything but an interactive
shell.  I think the script as is, is failing in the prescribed manner
give the alias.