repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
share
/
man
/
tools
/
prnames
blob
00cacae12f7cbf8411e14de05ddbed01f57515f6
1
#! /bin/sh
2
#
3
# $NetBSD: prnames,v 1.2 1998/01/09 08:05:10 perry Exp $
4
#
5
set
x $
*
6
. .
/
.param
7
8
for
dir
in
$DIRLST
9
do
10
date
>
$TMPDIR
/
names
$dir
11
echo
>>
$TMPDIR
/
names
$dir
12
cd
$MANDIR
/
man
$dir
13
for
file
in
$FILLST
14
do
15
so
=
`line <
$file
| sed "s/ .*//"`
16
if
test
"
$so
"
=
".so"
17
then
18
continue
19
fi
20
ed
-
$file
>>
$TMPDIR
/
names
$dir
<<!
21
/
^.SH NAME
/+
22
q
23
!
24
done
25
done