From 5f16669804f5261631054b0bb3ef6a7ee635cc94 Mon Sep 17 00:00:00 2001 From: Gordon Tetlow Date: Sat, 9 Sep 2017 03:09:02 +0000 Subject: [PATCH] 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 --- usr.sbin/manctl/manctl.8 | 4 ---- usr.sbin/manctl/manctl.sh | 14 -------------- 2 files changed, 18 deletions(-) diff --git a/usr.sbin/manctl/manctl.8 b/usr.sbin/manctl/manctl.8 index b8e001dbc872..01006d6738d3 100644 --- a/usr.sbin/manctl/manctl.8 +++ b/usr.sbin/manctl/manctl.8 @@ -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 diff --git a/usr.sbin/manctl/manctl.sh b/usr.sbin/manctl/manctl.sh index 23e20870ab95..8264e00582ac 100644 --- a/usr.sbin/manctl/manctl.sh +++ b/usr.sbin/manctl/manctl.sh @@ -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! @@ -48,16 +47,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 # @@ -351,8 +340,6 @@ ctl_usage() { echo "usage: $1 -compress ... " 1>&2 echo " $1 -uncompress ... " 1>&2 - echo " $1 -purge ... " 1>&2 - echo " $1 -purge expire ... " 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