Date: Sat, 11 May 1996 12:00:59 -0700 (PDT) From: Joerg Wunsch <joerg> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/lpr/lp lp.1 lp.sh src/usr.sbin/lpr/lpr lpr.1 lpr.c Message-ID: <199605111900.MAA04304@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 96/05/11 12:00:59 Modified: usr.sbin/lpr/lp lp.1 lp.sh Log: Clean out the BUGS section/comments now that our lpr has a better option parsing. Revision Changes Path 1.2 +1 -13 src/usr.sbin/lpr/lp/lp.1 1.3 +1 -8 src/usr.sbin/lpr/lp/lp.sh Modified: usr.sbin/lpr/lpr lpr.1 lpr.c Log: Convert the option parser to use getopt(3). This makes it more orthogonal with the rest of the system (you can now use either -PPS or -P PS), and makes the parser more intelligible. The only drawback is that the old semantics for the -i flag in case a non-numeric argument is following are no longer fully supported (only if -i is the very last arg at all), since getopt(3) doesn't support the discticnction between numeric and non-numeric arguments. Make lpr also understand dashes as input pseudo filenames. This finally makes lp(1) fully comply with Posix.2. Revision Changes Path 1.5 +7 -9 src/usr.sbin/lpr/lpr/lpr.1 1.7 +82 -78 src/usr.sbin/lpr/lpr/lpr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605111900.MAA04304>