Bug 621353

Summary: grep --mmap doesn't work
Product: [Fedora] Fedora Reporter: Tobias Mueller <fedora-bugs>
Component: grepAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jskarvad, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-05 07:06:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tobias Mueller 2010-08-04 19:59:20 UTC
Description of problem:
According to the man page, grep --mmap is supposed to work. And it does indeed on my Ubuntu installation.

Version-Release number of selected component (if applicable):


How reproducible:
grep --mmap $USER /etc/passwd

Steps to Reproduce:
1.
2.
3.
  
Actual results:
$ grep --mmap $USER /etc/passwd
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
$

Expected results:
$USER

Additional info:

Comment 1 Jaroslav Škarvada 2010-08-05 07:06:46 UTC
Thanks for report. Please note that the --mmap option is deprecated and should be ignored. This behaviour was implemented in rawhide and will be presented in F14. Upstream bugzilla: http://savannah.gnu.org/bugs/?29614

*** This bug has been marked as a duplicate of bug 583895 ***