SYS V Bourne Shell .shrc file

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Jan 5 14:33:51 AEST 1990


In article <1864 at sauron.Columbia.NCR.COM> wescott at micky.Columbia.NCR.COM (Mike Wescott) writes:
>In article <1792 at ncrcce.StPaul.NCR.COM> mercer at ncrcce.StPaul.NCR.COM (Dan Mercer) writes:
>> The .shrc is also invoked prior to /etc/profile and ~/.profile on login.
>Nope.  After /etc/profile but before $HOME/.profile, mimicing csh's behavior.

Ugh -- it was obviously the wrong way around in csh, so why mimic that??

When we added support for $ENV in the BRL Bourne shell (more general than
.shrc, also doesn't require disabling in non-interactive uses such as
shell scripts), we did it right.



More information about the Comp.unix.wizards mailing list