This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bug in tcsh 6.15.00-4
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 18 Jun 2007 10:11:24 +0200
- Subject: Re: bug in tcsh 6.15.00-4
- References: <4674ED73.60708@zone42.org>
- Reply-to: cygwin at cygwin dot com
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/complete.tcsh.org
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/