emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#37212: closed (Incorrect --exclude description with 'grep --help')


From: GNU bug Tracking System
Subject: bug#37212: closed (Incorrect --exclude description with 'grep --help')
Date: Thu, 02 Jan 2020 09:58:01 +0000

Your message dated Thu, 2 Jan 2020 01:57:15 -0800
with message-id <address@hidden>
and subject line Re: bug#37212: Incorrect --exclude description with 'grep 
--help'
has caused the debbugs.gnu.org bug report #37212,
regarding Incorrect --exclude description with 'grep --help'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37212
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Incorrect --exclude description with 'grep --help' Date: Wed, 28 Aug 2019 17:25:54 +0100 User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
'grep --help' incorrectly states that the --exclude option operates on
directories. Here's the suggested change to the help text:

-      --exclude=GLOB        skip files and directories matching GLOB
+      --exclude=GLOB        skip files matching GLOB

It might also be worthwhile changing 'that match' to 'matching' in these
2 options to give consistent phrasing across the 4 include/exclude
options, to make it a bit easier for the user to compare them:

-      --include=GLOB        search only files that match GLOB (a file
pattern)
+      --include=GLOB        search only files matching GLOB (a file
pattern)

-      --exclude-dir=GLOB    skip directories that match GLOB
+      --exclude-dir=GLOB    skip directories matching GLOB




--- End Message ---
--- Begin Message --- Subject: Re: bug#37212: Incorrect --exclude description with 'grep --help' Date: Thu, 2 Jan 2020 01:57:15 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2
Thanks for the bug report. I installed the attached (slightly different) patch
to fix the bug and inconsistency.

Attachment: 0001-doc-fix-exclude-description-in-man-page.patch
Description: Text Data


--- End Message ---

reply via email to

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