[Top][All Lists]

[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


                 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



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)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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