[BACK]Return to vgrind.sh CVS log [TXT][DIR] Up to [local] / src / usr.bin / vgrind

Diff for /src/usr.bin/vgrind/Attic/vgrind.sh between version 1.2 and 1.3

version 1.2, 1996/06/26 05:42:31 version 1.3, 1996/10/03 19:32:20
Line 37 
Line 37 
 #       @(#)vgrind.sh   8.1 (Berkeley) 6/6/93  #       @(#)vgrind.sh   8.1 (Berkeley) 6/6/93
 #  #
   
   # Allow troff to be overridden
   if ( $?TROFF ) then
           set troff = "$TROFF"
   else
           set troff = "troff"
   endif
   
   set vf=/usr/libexec/vfontedpr
   set tm=/usr/share/tmac
   
 set voptions=  set voptions=
 set options=  set options=
 set files=  set files=
 set f=''  set f=''
 set head=""  set head=""
 set vf=/usr/libexec/vfontedpr  
 set tm=/usr/share/tmac  
 top:  top:
 if ($#argv > 0) then  if ($#argv > 0) then
     switch ($1:q)      switch ($1:q)
Line 119 
Line 128 
     else      else
         if ("$head" != "") then          if ("$head" != "") then
             $vf $options -h "$head" $files | \              $vf $options -h "$head" $files | \
                 sh -c "psroff -rx1 $voptions -i -mvgrind 2>> xindex"                  sh -c "$troff -rx1 $voptions -i -mvgrind 2>> xindex"
         else          else
             $vf $options $files | \              $vf $options $files | \
                 sh -c "psroff -rx1 $voptions -i -mvgrind 2>> xindex"                  sh -c "$troff -rx1 $voptions -i -mvgrind 2>> xindex"
         endif          endif
     endif      endif
     sort -df +0 -2 xindex >index      sort -df +0 -2 xindex >index
Line 136 
Line 145 
         endif          endif
     else      else
         if ("$head" != "") then          if ("$head" != "") then
             $vf $options -h "$head" $files | psroff -i $voptions -mvgrind              $vf $options -h "$head" $files | $troff -i $voptions -mvgrind
         else          else
             $vf $options $files | psroff -i $voptions -mvgrind              $vf $options $files | $troff -i $voptions -mvgrind
         endif          endif
     endif      endif
 endif  endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3