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

Submitted by:  Stepan Kasal <kasal>
Submitted on:  Thu 24 Feb 2005 01:44:51 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>
Project Member
Thu 24 Feb 2005 01:44:51 PM UTC, original submission:

grep -1 -2 prints twelve lines of context.

Stepan Kasal <kasal>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Dec 2009 07:57:04 AM UTCbonziniStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1