Commit | Line | Data |
---|---|---|
d8fe4709 BJ |
1 | # |
2 | # vgrind | |
3 | # | |
4 | set b=/usr/lib | |
5 | set o= | |
6 | if ($#argv > 1) then | |
7 | switch ($1:q) | |
8 | ||
9 | case -o*: | |
10 | set o=$1:q | |
11 | shift | |
12 | breaksw | |
13 | endsw | |
14 | endif | |
15 | if (-r index) then | |
16 | echo > nindex | |
17 | foreach i ($*:q) | |
18 | echo "/ $i /d" >> nindex | |
19 | end | |
20 | sed -f nindex index >xindex | |
21 | $b/vfontedpr $*:q | vtroff -rx1 $o -i -mvgrind >>& xindex | |
22 | sort -df +0 -2 xindex >index | |
23 | rm nindex xindex | |
24 | else | |
25 | $b/vfontedpr $*:q | vtroff -i $o -mvgrind | |
26 | endif |