This is the mail archive of the cygwin 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: bug in tcsh 6.15.00-4

On Jun 17 10:14, Steffen Sledz wrote:
> I've found a small bug in /etc/profile.d/complete.tcsh of tcsh package
> 6.15.00-4, which makes some problems if $HOME contains white spaces.
> The fix for this is an easy one as this diff shows:
> % diff /etc/profile.d/complete.tcsh /etc/profile.d/
> 42,43c42,43
> <         if ( -r "$f" ) then
> <           set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s " " "       " | cut -f 1`)
> ---
> >         if ( -r $f ) then
> >           set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s " " " " | cut -f 1`)
> I'm not familiar with cygwin development. I've reported this in
> cygwin-apps before, but i was told to post it here again. I hope
> that's the right way.

Yes, this is the right way.  The above problem is also an upstream
problem.  Thanks for the patch.

It would be better in the long run *not* to use spaces in path names,
though.  It's not very tricky to set up and it helps to avoid
annoying problems with shell scripts, etc.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

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