bug-grep
[Top][All Lists]
Advanced

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

bug#22144: --exclude no longer works against arguments with a directory


From: Vincent Lefevre
Subject: bug#22144: --exclude no longer works against arguments with a directory name
Date: Fri, 11 Dec 2015 10:31:11 +0100
User-agent: Mutt/1.5.24-6539-vl-r83103 (2015-12-08)

In grep 2.22, --exclude no longer works in some cases:

$ cd /usr/share/doc/grep
$ grep e --exclude README README

is OK, but not:

$ grep e --exclude README /usr/share/doc/grep/README
  Copyright (C) 1992, 1997-2002, 2004-2015 Free Software Foundation, Inc.
[...]

This breaks at least one of my scripts, where --exclude is used to
exclude filenames generated with globbing.

After reverting to grep 2.21, this problem disappeared.

My Debian bug report:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807641

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





reply via email to

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