head	1.3;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.1
	RELENG_4_11:1.1.1.1.0.32
	RELENG_4_11_BP:1.1.1.1
	RELENG_4_10_0_RELEASE:1.1.1.1
	RELENG_4_10:1.1.1.1.0.30
	RELENG_4_10_BP:1.1.1.1
	RELENG_4_9_0_RELEASE:1.1.1.1
	RELENG_4_9:1.1.1.1.0.28
	RELENG_4_9_BP:1.1.1.1
	RELENG_4_8_0_RELEASE:1.1.1.1
	RELENG_4_8:1.1.1.1.0.26
	RELENG_4_8_BP:1.1.1.1
	RELENG_4_7_0_RELEASE:1.1.1.1
	RELENG_4_7:1.1.1.1.0.24
	RELENG_4_7_BP:1.1.1.1
	RELENG_4_6_2_RELEASE:1.1.1.1
	RELENG_4_6_1_RELEASE:1.1.1.1
	RELENG_4_6_0_RELEASE:1.1.1.1
	RELENG_4_6:1.1.1.1.0.22
	RELENG_4_6_BP:1.1.1.1
	RELENG_4_5_0_RELEASE:1.1.1.1
	RELENG_4_5:1.1.1.1.0.20
	RELENG_4_5_BP:1.1.1.1
	RELENG_4_4_0_RELEASE:1.1.1.1
	RELENG_4_4:1.1.1.1.0.18
	RELENG_4_4_BP:1.1.1.1
	RELENG_4_3_0_RELEASE:1.1.1.1
	RELENG_4_3:1.1.1.1.0.16
	RELENG_4_3_BP:1.1.1.1
	RELENG_4_2_0_RELEASE:1.1.1.1
	RELENG_4_1_1_RELEASE:1.1.1.1
	PRE_SMPNG:1.1.1.1
	RELENG_4_1_0_RELEASE:1.1.1.1
	RELENG_3_5_0_RELEASE:1.1.1.1
	RELENG_4_0_0_RELEASE:1.1.1.1
	RELENG_4:1.1.1.1.0.14
	RELENG_4_BP:1.1.1.1
	RELENG_3_4_0_RELEASE:1.1.1.1
	RELENG_3_3_0_RELEASE:1.1.1.1
	RELENG_3_2_PAO:1.1.1.1.0.12
	RELENG_3_2_PAO_BP:1.1.1.1
	RELENG_3_2_0_RELEASE:1.1.1.1
	RELENG_3_1_0_RELEASE:1.1.1.1
	RELENG_3:1.1.1.1.0.10
	RELENG_3_BP:1.1.1.1
	RELENG_2_2_8_RELEASE:1.1.1.1
	RELENG_3_0_0_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1
	RELENG_2_2_6_RELEASE:1.1.1.1
	RELENG_2_2_5_RELEASE:1.1.1.1
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2_1_RELEASE:1.1.1.1
	RELENG_2_2_0_RELEASE:1.1.1.1
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.8
	RELENG_2_2_BP:1.1.1.1
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.6
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.4
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2002.06.01.21.38.39;	author bde;	state dead;
branches;
next	1.2;

1.2
date	2001.02.06.12.45.29;	author asmodai;	state Exp;
branches;
next	1.1;

1.1
date	94.05.30.19.08.58;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.30.19.08.59;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Finish removing the share/man/tools/directory.
@
text
@export MANDIR TMPDIR
export DIRLST FILLST
export LFLAG PFLAG ID

MANDIR=/usr/share/man
TMPDIR=/tmp
DIRLST=
FILLST=
LFLAG=
PFLAG=
ID=

shift

while [ $# -gt 0 ]
do
	case $1 in
	-m)
		shift
		MANDIR=$1
		shift
		;;

	-t)
		shift
		TMPDIR=$1
		shift
		;;

	-d | -l)
		LFLAG=1
		shift
		;;

	-p)
		PFLAG=1
		shift
		;;

	-i | -o)
		shift
		ID=$1
		shift
		;;

	-s)
		shift
		while [ $# -gt 0 ]
		do
			case $1 in
			[1-8])
				DIRLST="$DIRLST $1"
				shift
				;;

			*)
				break
				;;
			esac
		done
		;;

	-f)
		shift
		while [ $# -gt 0 ]
		do
			case $1 in
			-*)
				break
				;;

			*)
				FILLST="$FILLST $1"
				shift
				;;
			esac
		done
		;;

	*)
		echo $0: unknown option $1
		exit 2
		;;
	esac
done

if [ -z "$DIRLST" ]
then
	DIRLST="1 2 3 4 5 6 7 8"
fi

if [ -z "$FILLST" ]
then
	FILLST=*.*
fi
@


1.2
log
@Our manual pages are no longer in /usr/man, but in /usr/share/man.

Also, add the default #!/bin/sh for shellscripts, as well as $FreeBSD$.
@
text
@@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
MANDIR=/usr/man
@


1.1.1.1
log
@BSD 4.4 Lite Share Sources
@
text
@@
