diff options
Diffstat (limited to 'static/netbsd/tools/prnames')
| -rwxr-xr-x | static/netbsd/tools/prnames | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/static/netbsd/tools/prnames b/static/netbsd/tools/prnames new file mode 100755 index 00000000..25053611 --- /dev/null +++ b/static/netbsd/tools/prnames @@ -0,0 +1,25 @@ +#! /bin/sh +# +# $NetBSD: prnames,v 1.3 2003/05/06 10:46:44 jmmv Exp $ +# +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 |
