bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #4354] add --no-recurse-symlinks feature


From: anonymous
Subject: [patch #4354] add --no-recurse-symlinks feature
Date: Fri, 26 Aug 2005 14:25:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4354>

                 Summary: add --no-recurse-symlinks feature
                 Project: grep
            Submitted by: None
            Submitted on: Fri 08/26/05 at 14:25
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

Please find attached a patch which adds a flag --no-recurse-symlinks to GNU
grep 2.5.1, for use with the --recurse option.

This patch allows the option to ignore symlinks encountered in the course of
recursion, although any symlinks explicitly listed on the  command-line are
still followed.

The reason for this patch is that although there is already a trap to avoid
symlink loops, there are situations where following symlinks on recursion can
still be unwanted -- e.g. the same file or directory gets searched multiple
times, or a link points to a directory outside of the tree being recursed.




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
a --DOT-- m --DOT-- iwi --AT-- rl --DOT-- ac --DOT-- uk | Originator Email



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 08/26/05 at 14:25  Name: grep-2.5.1-no-recurse-symlinks.patch 
Size: 2.18KB   By: None
Patch for --no-recurse-symlinks (against stable version 2.5.1)
<http://savannah.gnu.org/patch/download.php?item_id=4354&item_file_id=5080>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4354>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]