Your message dated Fri, 13 Apr 2012 10:09:35 +1000
with message-id <[email protected]>
and subject line Re: [bts-link] source package grep
has caused the Debian Bug report #368924,
regarding grep: grep -r recursing symlinks is unexpected and unfixable
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
368924: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368924
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.5.1.ds2-5
Severity: normal
with many commands, including find, the default is to not recurse symlinks.
but:
0 25-Thu-15-15-43 /tmp/grep# ls -lR
..:
total 4
drwx------ 2 kpc kpc 4096 05-25 15:09 a
lrwxrwxrwx 1 kpc kpc 1 05-25 15:13 b -> a
lrwxrwxrwx 1 kpc kpc 7 05-25 15:13 bfile -> a/afile
../a:
total 4
-rw------- 1 kpc kpc 6 05-25 15:09 afile
0 25-Thu-15-15-47 /tmp/grep# grep -r hello .
../a/afile:hello
../b/afile:hello
../bfile:hello
in the above, i propose that b not be recursed. bfile should still be printed.
i propose an option to get the current behavior, just as find has.
i also propose a more comprehensive solution in the form of allowing a list
of files to grep (which can be - for stdin), thus allowing you to use find and
grep
to specify the list of files to grep. but i will file that in a separate
report. even
with the comprehensive solution, i think the default behavior of grep -r
should be changed.
thanks.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11--from-2.6.9-proc-config-and-menuconfig
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages grep depends on:
ii libc6 2.3.6-7 GNU C Library: Shared libraries
grep recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.11-1
On Mon, Mar 19, 2012 at 09:41:16AM -0700,
[email protected] wrote:
> #
> # bts-link upstream status pull for source package grep
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg00001.html
> #
>
> user [email protected]
>
> # remote status report for #368924 (http://bugs.debian.org/368924)
> # Bug title: grep: grep -r recursing symlinks is unexpected and unfixable
> # * http://savannah.gnu.org/bugs/?func=detailitem&item_id=17623
> # * remote status changed: Open -> Closed
> # * remote resolution changed: (?) -> Fixed
> # * closed upstream
> tags 368924 + fixed-upstream
> usertags 368924 - status-Open
> usertags 368924 + status-Closed resolution-Fixed
>
> thanks
--- End Message ---