
194
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
List header files that have at least one #include directive:
grep -l '^#include' /usr/include/*
List files that don’t contain pattern:
grep -c pattern files | grep :0
groff
groff [options] [files]
troff [options] [files]
Frontend to the groff document-formatting system, which
normally runs troff along with a postprocessor appropriate for the
selected output device. Options without arguments can be grouped
after a single dash (-). A filename of - denotes standard input.
Options
-a Generate an ASCII approximation of the typeset output.
-b Print a backtrace.
-C Enable compatibility mode.
-dcs, -dname=s
Define the character c or string name to be the string s.
-e Preprocess with eqn, the equation formatter.
-E Don’t print any error messages.
-ffam
Use fam as the default font family.
-Fdir
Search dir for subdirectories with DESC and font files before
searching the default directory /usr/lib/groff/font.
-h Print a help message.
-i Read standard input after all files have been processed.
-l Send the output to a print spooler (as specified by the print
command in the device description file).
-Larg
Pass arg to the spooler. Each argument should be passed with
a separate -L option.
-mname
Read the macro file tmac.name.
-Mdir
Search directory dir for macro files before searching the ...