Bug 89997 - lp is not X/Open or POSIX compliant
Summary: lp is not X/Open or POSIX compliant
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: cups
Version: 9
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-30 22:59 UTC by Patrick Melo
Modified: 2007-03-27 04:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-01 11:45:59 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.