From: Petr Baudis Date: Wed, 21 Sep 2005 10:11:13 GMT Subject: Re: [PATCH] cg-diff fixed to work with BSD xargs Message-ID: <20050921101113.GF24902@pasky.or.cz> In-Reply-To: <20050921100631.GQ14206@kiste.smurf.noris.de> Dear diary, on Wed, Sep 21, 2005 at 12:06:31PM CEST, I got a letter where Matthias Urlichs told me that... > Hi, Hi, > Petr Baudis: > > > > $filter is a file name. -s tests whether the file of that name exists > > and is non-empty. > > > True -- but it's still a bug. > > If the name itself is empty (or has spaces), you get wrong results. but the name is never empty. It can contain spaces, and this should be fixed, but we have a lot of places to fix in Cogito if it is to work right with $TMPDIR containing spaces (what a weird idea). -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.