Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix vgrind command

Quick links

About vgrind
Syntax
Examples
Related commands
Linux / Unix main page

About vgrind

Grind nice program listings

Syntax

vgrind [-2] [-f] [-n] [-t] [-w] [-W] [-x] [-d defs-file] [ -h header] [-l language] [-s n] [-o pagelist] [ -P printer] [-T output-device] filename

-2Produces two column output. Specifying this option changes the default point size to 8 (as if the -s8 option were supplied). It also arranges for output to appear in landscape mode, by supplying the -L flag to the formatter and changing the page height and width accordingly.
-fForces filter mode.
-nDoes not make keywords boldface.
-tSimilar to the same option in troff ; that is, formatted text goes to the standard output.
-wConsiders TAB characters to be spaced four columns apart instead of the usual eight.
-WForces output to the (wide) Versatec printer rather than the (narrow) Varian.
-xOutputs the index file in a "pretty" format. The index file itself is produced whenever vgrind is run with a file called index present in the current directory. The index of function definitions can then be run off by giving vgrind the -x option and the file index as argument.
-d defs-fileSpecify an alternate language definitions file (default is /usr/lib/vgrindefs).
-h headerSpecify a header to appear in the center of every output page.
-l languageSpecify the language to use. Among the languages currently known are: Bourne shell (-lsh), C (-lc, the default), C++ (-lc++), C shell (-lcsh), emacs MLisp (-lml), FORTRAN (-lf), Icon (-lI), ISP (-i), LDL (-lLDL), Model (-lm), Pascal (-lp), and RATFOR (-lr).
-s nSpecify a point size to use on output (exactly the same as the argument of a troff .ps point size request).
-o pagelistPrints only those pages whose page numbers appear in the comma-separated pagelist of numbers and ranges. A range N-M means pages N through M; an initial -N means from the beginning to page N; and a final N- means from N to the end.
-P printerSends output to the named printer.
-T output-deviceFormats output for the specified output-device.
filenameName of the program source to be processed by vgrind . Use `-' to specify the standard input.

Examples

vgrind -t myfile.c | lpr -t - print a formatted listing of the program file myfile.c.

Related commands

csh
ctags
eqn
tbl
troff

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope