freebsd-dev/usr.sbin/lpr
Garance A Drosehn 004c9c5da2 Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows
one to see what files would be removed *if* an 'lpc clean' is done.  'tclean'
will remove no files, and is therefore not a privileged command.  Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them).  They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.

The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved.  For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.

Reviewed by:	freebsd-print@bostonradio.org  freebsd-audit@FreeBSD.org
MFC after:	2 weeks
2001-06-25 02:05:03 +00:00
..
chkprintcap
common_source Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
filters
filters.ru
lp
lpc Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows 2001-06-25 02:05:03 +00:00
lpd Add two new options for lpd: -c will log all connection-errors to syslog, 2001-06-25 01:45:25 +00:00
lpq Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpr Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lprm Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lptest
pac
SMM.doc
Makefile
Makefile.inc