This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with ls and similar commands in tcsh


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 at cygwin dot 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]