svn commit: r323342 - head/usr.sbin/manctl
Gordon Tetlow
gordon at FreeBSD.org
Sat Sep 9 03:09:03 UTC 2017
Author: gordon
Date: Sat Sep 9 03:09:02 2017
New Revision: 323342
URL: https://svnweb.freebsd.org/changeset/base/323342
Log:
The purge option hasn't been implemented since 1994 when we imported this
code. I think it is safe to say it's not going to be. I'm also working to
de-orbit catman, so remove the reference in the manpage.
Reviewed by: allanjude
Modified:
head/usr.sbin/manctl/manctl.8
head/usr.sbin/manctl/manctl.sh
Modified: head/usr.sbin/manctl/manctl.8
==============================================================================
--- head/usr.sbin/manctl/manctl.8 Sat Sep 9 02:28:21 2017 (r323341)
+++ head/usr.sbin/manctl/manctl.8 Sat Sep 9 03:09:02 2017 (r323342)
@@ -33,7 +33,6 @@
.Nm
.Op Fl compress
.Op Fl uncompress
-.Op Fl purge
.Op Fl help
.Ar path ...
.Sh DESCRIPTION
@@ -50,9 +49,6 @@ Print options and exit.
Compress uncompressed man pages (eliminating .so's).
.It Fl uncompress
Uncompress compressed man pages.
-.It Fl purge
-Purge old formatted man pages (not implemented yet).
.El
.Sh SEE ALSO
-.Xr catman 1 ,
.Xr man 1
Modified: head/usr.sbin/manctl/manctl.sh
==============================================================================
--- head/usr.sbin/manctl/manctl.sh Sat Sep 9 02:28:21 2017 (r323341)
+++ head/usr.sbin/manctl/manctl.sh Sat Sep 9 03:09:02 2017 (r323342)
@@ -39,7 +39,6 @@
# this is now two-pass. If possible, .so's
# are replaced with hard links
# uncompress compressed man pages
-# purge old formatted man pages (not implemented yet)
# Things to watch out for:
# Hard links - careful with g(un)zipping!
# .so's - throw everything through soelim before gzip!
@@ -49,16 +48,6 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH
#
-# purge cat? directories
-#
-do_purge()
-{
- echo "purge $@" 2>&1
- echo "not implemented yet\n" 2>&1
-}
-
-
-#
# Uncompress one page
#
uncompress_page()
@@ -351,8 +340,6 @@ ctl_usage()
{
echo "usage: $1 -compress <path> ... " 1>&2
echo " $1 -uncompress <path> ... " 1>&2
- echo " $1 -purge <days> <path> ... " 1>&2
- echo " $1 -purge expire <path> ... " 1>&2
exit 1
}
@@ -375,6 +362,5 @@ if [ $# -lt 2 ] ; then ctl_usage $0 ; fi ;
case "$1" in
-compress) shift ; do_compress "$@" ;;
-uncompress) shift ; do_uncompress "$@" ;;
- -purge) shift ; do_purge "$@" ;;
*) ctl_usage $0 ;;
esac
More information about the svn-src-all
mailing list