3 # $NetBSD: ckso,v 1.2 1998/01/09 08:04:58 perry Exp $
11 date > $TMPDIR/badso
$dir
12 echo >> $TMPDIR/badso
$dir
13 date > $TMPDIR/needso
$dir
14 echo >> $TMPDIR/needso
$dir
19 so
=`echo $ln | sed "s/ .*//"`
22 so
=`echo $ln | sed -e "s/.so//" -e "s/^/ls/"`
23 echo $so >> $TMPDIR/tmp.$$
25 ed
- $file > $TMPDIR/tmp2.$$
<<!
26 /^\.SH NAME
/+s
/ .
-.
*//p
29 name
=`line < $TMPDIR/tmp2.$$`
30 echo $name |
grep "," > /dev
/null
33 name
=`echo $name | sed "s/,/ /g"`
36 if test $ent = `echo $file | sed "s/\..*//"`
40 ls $MANDIR/man
$dir/$ent.
* 2>&1 |
grep "not found" >> $TMPDIR/needso
$dir
47 sh tmp.$$
2>&1 |
grep "not found" >> badso
$dir