[6739] in Athena Bugs
rt 7.1H: lpr -h
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 29 17:51:57 1990
From: sethf@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Sat, 29 Dec 90 17:51:45 EST
System name: frumious-bandersnatch
Type and version: RTPC-ROMPC 7.1H
Display type: apa16
What were you trying to do?
Print a job without a header page
What's wrong:
I typed lpr -h, forgetting that I had already aliased lpr to lpr -h
The current behavior of -h is a toggle. And this isn't documented.
What should have happened:
-h should not be a toggle. Summing two negatives doesn't make a
positive.
This would be trivial to fix - just change line 309 of lpr.c
from hdr = !hdr; to hdr = 0;.
A request to print a header page regardless of previous options
or aliases should be a separate option.
Please describe any relevant documentation references:
lpr(1)