From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from charon.cwi.nl ([192.16.184.142]) by hawkwind.utcs.toronto.edu with SMTP id <32815>; Mon, 1 Nov 1993 13:51:13 -0500 Received: from paling.cwi.nl by charon.cwi.nl with SMTP id AA14099 (5.65b/%I%/CWI-Amsterdam); Mon, 1 Nov 1993 19:50:57 +0100 Received: by paling.cwi.nl with SMTP id AA16277 (930416.SGI/3.8/CWI-Amsterdam); Mon, 1 Nov 93 19:50:55 +0100 Message-Id: <9311011850.AA16277=robertl@paling.cwi.nl> To: Alan Watson Cc: rc@hawkwind.utcs.toronto.edu Subject: Re: -c arguents In-Reply-To: Your message of "Mon, 01 Nov 1993 13:35:41 GMT." <9311011835.AA25777@oldp.astro.wisc.edu> From: Robert van Liere X-Organization: CWI, Kruislaan 413, 1098 SJ Amsterdam, The Netherlands X-Phone: tel: +31-20-592-4118 | fax: +31-20-592-4199 Date: Mon, 1 Nov 1993 13:50:54 -0500 Sender: Robert.van.Liere@cwi.nl > I wonder if the behaviour should be changed to follow that of sh? I've reported this to Byron more than a year ago. This was his reply. -- Robert > 2) make on the sgi has a bug: it executes its shell with "$SHELL -ce command" > and since rc uses getopt(3) to process its arguments (hardly nonstandard, > imho) rc sees the single command "e" followed by a bunch of arguments which > it places in $*. One fix is to place a copy of make in a different directory, > edit it with, say, emacs, and transpose the order of the letters "ce". That > will make it invoke rc correctly. > > One caveat: many makefiles out there break when you use rc as a shell. It is > a bug, imo, that sgi's make does not default to sh unless explicitly overriden > via SHELL. I believe other makes operate in that fashion.