Weird things in csh (and kernel?)

Maarten Litmaath maart at cs.vu.nl
Tue Mar 1 13:26:06 AEST 1988


In article <7368 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
\In article <1195 at ark.cs.vu.nl> maart at 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 at cs.vu.nl, mcvax!botter!ark!maart



More information about the Comp.unix.questions mailing list