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
This commit is contained in:
Gordon Tetlow 2017-09-09 03:09:02 +00:00
parent 6162a3fcb9
commit 5f16669804
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323342
2 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -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 <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