mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 00:42:06 +01:00
23 lines
309 B
Bash
Executable File
23 lines
309 B
Bash
Executable File
#! /bin/sh
|
|
set x $*
|
|
. ./.param
|
|
|
|
for dir in $DIRLST
|
|
do
|
|
date > $TMPDIR/names$dir
|
|
echo >> $TMPDIR/names$dir
|
|
cd $MANDIR/man$dir
|
|
for file in $FILLST
|
|
do
|
|
so=`line < $file | sed "s/ .*//"`
|
|
if test "$so" = ".so"
|
|
then
|
|
continue
|
|
fi
|
|
ed - $file >> $TMPDIR/names$dir <<!
|
|
/^.SH NAME/+
|
|
q
|
|
!
|
|
done
|
|
done
|