From owner-freebsd-current@FreeBSD.ORG Sun Feb 13 05:22:56 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2541216A4CE for ; Sun, 13 Feb 2005 05:22:56 +0000 (GMT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB2343D41 for ; Sun, 13 Feb 2005 05:22:55 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (andy@localhost [127.0.0.1]) j1D5Mr3H034230 for ; Sun, 13 Feb 2005 00:22:53 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)j1D5MrwW034227 for ; Sun, 13 Feb 2005 00:22:53 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 13 Feb 2005 00:22:53 -0500 (EST) From: Andre Guibert de Bruet To: current@freebsd.org Message-ID: <20050213000827.L90452@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-83723932-1108272173=:90452" X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: [PATCH] grep directory loop reporting outputs extra newline X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 05:22:56 -0000 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--