Path: utzoo!mnetor!uunet!mcvax!botter!ark!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: Re: Weird things in csh (and kernel?) Message-ID: <1198@ark.cs.vu.nl> Date: 1 Mar 88 03:26:06 GMT References: <1193@ark.cs.vu.nl> <662@sjoerd.cs.vu.nl> <1195@ark.cs.vu.nl> <7368@brl-smoke.ARPA> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 21 Keywords: csh, script In article <7368@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: \In article <1195@ark.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: \>Isn't it a BOURNE shell that is forked off, which won't execute ~/.cshrc? \ \It ought to be (since otherwise the behavior of a shell script would \depend on which shell the invoker happened to be using), but most Cshell \implementations I've run across think that anonymous scripts should be \interpreted by (an instance of) them. % cat gnome alias l ls -l % ls -l gnome -rwxr-xr-x 1 3754 14 Mar 1 14:20 gnome % gnome gnome: alias: not found % This shows that normally a Bourne shell indeed is forked off... -- Which of Santa Claus and God |Maarten Litmaath @ Free U Amsterdam: is more likely to exist? |maart@cs.vu.nl, mcvax!botter!ark!maart