Subject: Re: tcsh if works for user, not for root
To: Sam Carleton <>
From: Jeremy C. Reed <>
List: netbsd-users
Date: 09/11/2002 23:29:55
On Wed, 11 Sep 2002, Sam Carleton wrote:

> if( -fx /usr/pkg/bin/vim ) then

Under csh(1), you only use one operand like "-x".

tcsh(1) allows these operators to be combined.

> I have added it to root's .cshrc.  When I use su to become root with
> this commend "sudo su - root -c tcsh", I get this error:

So I can only guess that this makes it run csh instead of tcsh. Try to do
it without sudo.

   Jeremy C. Reed