The emacs that comes with Fermi Linux is straight from RedHat. Please tell
me how to "disable the feature in emacs" as I do not know how.
-connie
>
> On Nov 28, 8:48am, Heidi Schellman wrote:
> > Subject: Re: running shell scripts properly
> > Thanks Art, your suggestion helped. Putting #!/usr/bin/env csh instead
> > of #!/usr/local/bin csh at the top of my scripts cured them. I guess the
> > 'problem' is with novice users, emacs and the fnal red-hat install. creation
> > of X.csh via emacs X.csh puts /usr/local/bin csh at the top of files by
> > default. But there is no /usr/local/bin csh on FNAL linux.
> >
> > Those like me who can never remember what to put at the top of a script rely
> > on emacs to do it for us. I guess the way to idiot-proof this is either to
> fix
> > emacs, disable the feature in emacs or put /usr/local/bin csh into the fnal
> > Red-Hat so that it mirrors the behavior on other FNAL machines.
>
> I'd vote for "disable the feature in emacs" and putting "#!/bin/csh"
> at the top of your scripts.
>
> Igor
>
>
>
> --
> Igor Mandrichenko
> Computing Division
> Fermi National Accelerator Laboratory
> E-mail: ivm@fnal.gov
>