Bug 89997

Summary: lp is not X/Open or POSIX compliant
Product: [Retired] Red Hat Linux Reporter: Patrick Melo <patrick.melo>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: patrick.melo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-01 11:45:59 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 Patrick Melo 2003-04-30 22:59:09 UTC
Description of problem:
According to The Open Group Base Specifications Issue 6, IEEE Std 1003.1-
2001, "The standard input shall be used only if no file operands are 
specified, or if a file operand is '-' ."  The lp supplied with cups-1.1.17-13 
however does not support the dash option to specify standard input.

[patrick@sprout tmp]$ lp -d lazy -
lp: Unknown option ''!
[patrick@sprout tmp]

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


How reproducible:
Every time

Steps to Reproduce:
1. lp -d lazy -
2.
3.
    
Actual results:
Error message 'Unknown option' is displayed.

Expected results:
lp should read from standard input.

Additional info:

Comment 2 Tim Waugh 2003-05-01 11:45:59 UTC
Thanks.  Reported upstream.

http://www.cups.org/newsgroups.php?s2997+gcups.general+v3006