X-Spam-Check-By: sourceware.org Date: Mon, 18 Jun 2007 10:11:24 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bug in tcsh 6.15.00-4 Message-ID: <20070618081123.GI4179@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4674ED73 DOT 60708 AT zone42 DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4674ED73.60708@zone42.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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/