Bug 1178305
Summary: | grep -d recurse doesn't check if input is a directory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew Hecox <ahecox> |
Component: | grep | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | ahecox, jskarvad, lkundrak |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | grep-2.21-5.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-11 09:08:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andrew Hecox
2015-01-03 19:23:51 UTC
Could you provide reproducer? I.e. actions taken, expected result, current result? Thanks. (In reply to Jaroslav Škarvada from comment #1) > Could you provide reproducer? I.e. actions taken, expected result, current > result? Thanks. hi Jaroslav, I provided steps in the description, please let me know what is unclear. -d recurse should only recurse if the input arguments are directories. In the reproducer the input in stdin. Let me know if that makes sense, thanks! This seems to be wanted behaviour, upstream commit fixing the docs: http://git.savannah.gnu.org/cgit/grep.git/commit/?id=c8b9364d5900a40809827aee6cc53705073278f6 So I will also fix the docs. grep-2.21-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/grep-2.21-5.fc22 grep-2.21-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/grep-2.21-3.fc21 Package grep-2.21-5.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing grep-2.21-5.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5677/grep-2.21-5.fc22 then log in and leave karma (feedback). grep-2.21-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Thanks Jaroslav grep-2.21-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |