🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #241

Re: csh command substitution brain damage

#241
From: chris
Date: Sat, 21 Jul 1984 00:43
21 lines
1280 bytes
While I won't argue that it's a ``good thing'', the C shell was
apparently *designed* to give the ``ambiguous'' message.  Any time
globbing produces more than one word for what might be argv[0],
the C shell gives you the ``ambiguous'' message.  So

	% `look metro`
says
	`look metro`: Ambiguous.

but

	% `look metron`
says
	metronome: Command not found.

It makes a certain amount of sense, though I think I'd prefer the
other way.  (Hmm---yet another C shell magic variable?)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland
Technical Details
Message-ID: <7973@umcp-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!chris
References: <492@masscomp.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!chris
From: chris@umcp-cs.UUCP
Newsgroups: net.bugs
Subject: Re: csh command substitution brain damage
Message-ID: <7973@umcp-cs.UUCP>
Date: Fri, 20-Jul-84 20:43:42 EDT
Article-I.D.: umcp-cs.7973
Posted: Fri Jul 20 20:43:42 1984
Date-Received: Mon, 23-Jul-84 01:44:01 EDT
References: <492@masscomp.UUCP>
Organization: Univ. of Maryland, Computer Science Dept.
Lines: 21