Re^2: Should ``csh'' be part of the System V distribution?
Doug Gwyn
gwyn at brl-smoke.ARPA
Fri May 20 21:09:31 AEST 1988
In article <3141 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>In article <7924 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>)
>writes:
>>Csh ... sources .cshrc even for scripts...
>On 4.3BSD systems, a script that begins with "#! /bin/csh -f" will be
>executed by csh without invoking .cshrc. Note that csh was designed
>for 4.xBSD. This mechanism works well and gives the user a choice.
It most certainly does NOT work well! In practice one ALWAYS needs
to put the -f there, because otherwise there is absolutely no way to
control the behavior of the script. This is similar to the standard
imported-IFS problem (fixed in BRL sh).
More information about the Comp.unix.wizards
mailing list