# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)vgrind.sh 5.3 (Berkeley) %G%
set options
= "$options $1:q"
set voptions
= "$voptions -t"
set voptions
="$voptions $1:q"
set voptions
= "$voptions -W"
echo "vgrind: $1:q option must have argument"
set options
= ($options $1:q
$2)
echo "vgrind: $1:q option must have argument"
set options
= "$options $1:q"
set files
= "$files $1:q"
# make up a sed delete command for filenames
# being careful about slashes.
echo "? $i ?d" |
sed -e "s:/:\\/:g" -e "s:?:/:g" >> nindex
sed -f nindex index
>xindex
$b/vfontedpr
$options -h "$head" $files |
cat $b/tmac
/tmac.vgrind
-
$b/vfontedpr
$options $files |
cat $b/tmac
/tmac.vgrind
-
$b/vfontedpr
$options -h "$head" $files | \
/bin
/sh
-c "vtroff -rx1 $voptions -i -mvgrind 2>> xindex"
$b/vfontedpr
$options $files | \
/bin
/sh
-c "vtroff -rx1 $voptions -i -mvgrind 2>> xindex"
sort -df +0 -2 xindex
>index
$b/vfontedpr
$options -h "$head" $files |
cat $b/tmac
/tmac.vgrind
-
$b/vfontedpr
$options $files |
cat $b/tmac
/tmac.vgrind
-
$b/vfontedpr
$options -h "$head" $files \
| vtroff
-i $voptions -mvgrind
$b/vfontedpr
$options $files \
| vtroff
-i $voptions -mvgrind