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: Paul Eggert
Subject: [patch #4354] add --no-recurse-symlinks feature
Date: Fri, 26 Aug 2005 12:14:33 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050813 Firefox/1.0.4 (Debian package 1.0.4-2sarge2)

Follow-up Comment #1, patch #4354 (project grep):

This should use an option name that is consistent with other GNU
programs.  The usual names for these options are as follows:

  -H, --dereference-command-line
                         follow symbolic links listed on the command line
  -L, --dereference      follow all symbolic links
  -P, --no-dereference   never follow symbolic links

The short names (-H, -L, -P) are specified by POSIX for many
commands, e.g., "ls".  Grep already uses these flags for
something else, but it should use the same long names anyway.

The flags -H, -L, and -P should override each other; the last one
specified on the command line should win.  POSIX requires this
for other programs.

I would say -H should be the default, but that's a judgment call
(it would change the semantics), and perhaps you'd prefer -L.


    _______________________________________________________

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]