buggrep - Bugs: bug #12128, grep -1 -2 is equivalent to grep...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12128: grep -1 -2 is equivalent to grep -12

Submitter:  Stepan Kasal <kasal>
Submitted:  Thu 24 Feb 2005 01:44:51 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 23 Dec 2009 07:57:04 AM UTC, comment #3: 

Thank you for the bug report. This bug has been fixed in the
development sources, which can be downloaded using git from
git://git.sv.gnu.org/grep.git

Paolo Bonzini <bonzini>
Sun 27 Feb 2005 06:53:05 AM UTC, comment #2: 

coreutils has attempted to move away from numeric options like "head -20". Support for this usage has been removed for hosts that claim conformance to POSIX 1003.1-2001. Part of the problem is that the obsolescent syntax wasn't regular at all (e.g., "head -20 -q" worked, but "head -q -20" did not).

Paul Eggert <eggert>
Group Member
Fri 25 Feb 2005 05:49:17 AM UTC, comment #1: 

Hints:
- look how coreutils do it (head -20, etc.)
- when we start using gnulib, investigate the possibilities of the getopt module

Stepan Kasal <kasal>
Group Member
Thu 24 Feb 2005 01:44:51 PM UTC, original submission:  

grep -1 -2 prints twelve lines of context.

Stepan Kasal <kasal>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bonzini (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-23 bonzini StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code