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>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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/ > [-- Attachment #2 --] Index: grep.c =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/grep/grep.c,v retrieving revision 1.27 diff -r1.27 grep.c 1107c1107 < error (0, 0, _("warning: %s: %s\n"), dir, --- > error (0, 0, _("warning: %s: %s"), dir,help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050213000827.L90452>
