mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 01:11:05 +01:00
27 lines
455 B
Plaintext
27 lines
455 B
Plaintext
|
set x $*
|
||
|
. ./.param
|
||
|
|
||
|
for dir in $DIRLST
|
||
|
do
|
||
|
date > $TMPDIR/mlog$dir
|
||
|
echo >> $TMPDIR/mlog$dir
|
||
|
cd $MANDIR/man$dir
|
||
|
for file in $FILLST
|
||
|
do
|
||
|
so=`line < $file | sed "s/ .*//"`
|
||
|
if test "$so" = ".so"
|
||
|
then
|
||
|
echo "$file: .so link -- ignored" >> $TMPDIR/mlog$dir
|
||
|
continue
|
||
|
fi
|
||
|
echo "$file:" >> $TMPDIR/mlog$dir
|
||
|
file=`echo $file | sed "s/\..\{1,2\}\$//"`
|
||
|
if test -z "$PFLAG"
|
||
|
then
|
||
|
man -t $dir $file
|
||
|
else
|
||
|
man -s $dir $file
|
||
|
fi
|
||
|
done
|
||
|
done
|