vgrind — Format Program Listings

Synopsis

/usr/bin/vgrind [-2fntwWx][-d defs-file][-h header][-llanguage] 
  [-sn][-opagelist][-Pprinter] [-Toutput-device] filename... 

Description

vgrind formats the program sources named by the filename arguments, using troff(1). Comments are in italics, keywords in bold, and as each function is encountered, its name is listed on the page margin.

vgrind runs in two basic modes, filter mode or regular mode. In filter mode, vgrind acts as a filter in a manner similar to tbl(1). The standard input is passed directly to the standard output except for lines bracketed by the following troff-like macros:

.vS Start processing.
.vE End processing.

These lines are formatted as described above. The output from this filter ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.