git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] cg-diff fixed to work with BSD xargs

From
Petr Baudis <pasky@suse.cz>
Date
Sep 21, 2005, 10:11 UTC
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 <smurf@smurf.noris.de> told me that...

> Hi,
Hi,
Show 8 quoted lines
> 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.
Previous: Matthias UrlichsNext: Matthias Urlichs
Message 7 of 9 in “cg-diff fixed to work with BSD xargs”
  1. cg-diff fixed to work with BSD xargsMartin Langhoff, Aug 30, 2005
  2. Junio C HamanoAug 30, 2005
  3. Petr BaudisSep 20, 2005
  4. Matthias UrlichsSep 21, 2005
  5. Petr BaudisSep 21, 2005
  6. Matthias UrlichsSep 21, 2005
  7. Petr BaudisSep 21, 2005
  8. Matthias UrlichsSep 21, 2005
  9. Martin LanghoffSep 21, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.