Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ncar!ames!lll-lcc!pyramid!cbmvax!ditto
From: ditto@cbmvax.UUCP (Michael "Ford" Ditto)
Newsgroups: comp.sys.amiga
Subject: Re: Multiple commands on a CLI line
Summary: aliases from Environment?!?!
Message-ID: <5442@cbmvax.UUCP>
Date: 6 Dec 88 02:43:14 GMT
References: <8812011846.AA04769@elysium.berkeley.edu>
Reply-To: ditto@cbmvax.UUCP (Michael "Ford" Ditto)
Organization: Commodore Technology, West Chester, PA
Lines: 22

In article <8812011846.AA04769@elysium.berkeley.edu> dillon@ELYSIUM.BERKELEY.EDU (Matt Dillon) writes:
>	Also, note that alias's are also searched for in ENV: ... the
>command searching works like this:
>
>	(1) local alias?
>	(2) Enviroment variable-alias?
>	(3) Internal command?
>	(4) External command?

Excuse me if I'm misunderstanding this, but isn't that a big mistake?
For example, the "less" program reads an environment variable called
"LESS" to get default options.  Will setting ENV:LESS prevent the
"less" program from running?  Perhaps you can play tricks taking
advantage of the fact that case is significant in one case and not
in the other, but that sounds awfully sleazy!
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto@cbmvax.commodore.com