Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 00:22:53 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        current@freebsd.org
Subject:   [PATCH] grep directory loop reporting outputs extra newline
Message-ID:  <20050213000827.L90452@alpha.siliconlandmark.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-83723932-1108272173=:90452
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi,

I noticed a simple output regression between 4.10 and CURRENT wrt grep's 
output when it encounters a recursive directory loop. CURRENT puts an 
extra new-line when such a path is found. This adds complexity to scripts 
that rely on the traditional way of doing things.

The patch attached to this email can also be found at:
http://bling.properkernel.com/freebsd/grep.recursive.patch

Could this be committed?

Thanks,
Andy

| Andre Guibert de Bruet | Enterprise Software Consultant >
| Silicon Landmark, LLC. | http://siliconlandmark.com/    >
--0-83723932-1108272173=:90452
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="grep.recursive.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <20050213002253.V90452@alpha.siliconlandmark.com>
Content-Description: 
Content-Disposition: attachment; filename="grep.recursive.patch"

SW5kZXg6IGdyZXAuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZp
bGU6IC9ob21lL25jdnMvc3JjL2dudS91c3IuYmluL2dyZXAvZ3JlcC5jLHYN
CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yNw0KZGlmZiAtcjEuMjcgZ3JlcC5j
DQoxMTA3YzExMDcNCjwgCSAgICBlcnJvciAoMCwgMCwgXygid2FybmluZzog
JXM6ICVzXG4iKSwgZGlyLA0KLS0tDQo+IAkgICAgZXJyb3IgKDAsIDAsIF8o
Indhcm5pbmc6ICVzOiAlcyIpLCBkaXIsDQo=

--0-83723932-1108272173=:90452--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050213000827.L90452>