buggrep - Bugs: bug #9668, Interpreting '-' specially not...

 
 

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

bug #9668: Interpreting '-' specially not allowed by POSIX?

Submitted by:  Tim Waugh <twaugh>
Submitted on:  Fri 16 Jul 2004 02:14:17 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 18 Mar 2008 05:16:30 PM UTC, comment #2:

the GNU project already in general treats '-' as stdin as well as handles /dev/... pieces sanely. that specific part of POSIX is simply ignored. see discussion on the GNU tar mailing list for more info.

Mike Frysinger <vapier>
Tue 18 Mar 2008 04:03:55 PM UTC, comment #1:

By a strict interpretation of that sentence, 'grep foo /dev/stdin' would also be forbidden.

Ed Avis <epaepa>
Fri 16 Jul 2004 02:14:17 PM UTC, original submission:

I was surprised to read this in the Open Group Base Specifications Issue 6, concerning grep(1):

STDIN

The standard input shall be used only if no file
operands are specified. [...]

This seems to indicate that '-' is not allowed to be treated specially.

Tim Waugh <twaugh>

 

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 taa (Updated the item)
  • -unavailable- added by vapier (Posted a comment)
  • -unavailable- added by epaepa (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
    Sat 22 Mar 2008 07:44:15 PM UTCtaaStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1