From: Bill Joy Date: Fri, 19 Oct 1979 08:32:29 +0000 (-0800) Subject: BSD 3 development X-Git-Tag: BSD-3~834 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/81e72a90ce855389bb4234fe850a3379e484b657 BSD 3 development Work on file usr/src/cmd/versatec/vgrind.sh Co-Authored-By: David Presotto Synthesized-from: 3bsd --- diff --git a/usr/src/cmd/versatec/vgrind.sh b/usr/src/cmd/versatec/vgrind.sh new file mode 100755 index 0000000000..d34921a929 --- /dev/null +++ b/usr/src/cmd/versatec/vgrind.sh @@ -0,0 +1,26 @@ +# +# vgrind +# +set b=/usr/lib +set o= +if ($#argv > 1) then + switch ($1:q) + + case -o*: + set o=$1:q + shift + breaksw + endsw +endif +if (-r index) then + echo > nindex + foreach i ($*:q) + echo "/ $i /d" >> nindex + end + sed -f nindex index >xindex + $b/vfontedpr $*:q | vtroff -rx1 $o -i -mvgrind >>& xindex + sort -df +0 -2 xindex >index + rm nindex xindex +else + $b/vfontedpr $*:q | vtroff -i $o -mvgrind +endif