Problem with ls and similar commands in tcsh

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Apr 9 15:45:00 GMT 2003


On Tue, Apr 08, 2003 at 01:57:28PM +0100, Steven O'Brien wrote:
> 
> > and have traced the "If: expression syntax" error to the lines
> > 
> > if ( -r $HOME/.netrc ) then
> > 
> > and
> > 
> > if ( -f $HOME/.mh_profile && -x "`which folders`" ) then
> > 
> > in /etc/profile.d/complete.tcsh
> 
> You will see this failure if your $HOME variable has spaces in it,
> because the expressions as written above do not quote this variable
> correctly. I would urge the tcsh maintainer to change the above lines
> to:

it's the official complete.tcsh file from the vanilla tcsh source (well,
not the latest one but even that doesn't use quoting for $HOME).

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list