Subject: Re: sh expanding alias in odd place
To: Simon J. Gerraty <sjg@crufty.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-userlevel
Date: 11/03/2001 02:04:08
On Fri, 2 Nov 2001, Simon J. Gerraty wrote:
> 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.

Yeah, Christos fixed this. The problem was not an academic case though,
but tripping over it when building pkgsrc/devel/pth with an alias "l=ls
-la" in .profile. Not much of an option to fix random 3rd party
scripts.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/