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

Diff for /src/usr.bin/indent/indent.1 between version 1.4 and 1.5

version 1.4, 1997/06/23 22:03:36 version 1.5, 1998/09/26 19:54:53
Line 80 
Line 80 
 .Op Fl troff  .Op Fl troff
 .Op Fl v | Fl \&nv  .Op Fl v | Fl \&nv
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm Indent  .Nm indent
 is a  is a
 .Ar C  .Ar C
 program formatter.  It reformats the  program formatter.  It reformats the
Line 372 
Line 372 
 .Ss Comments  .Ss Comments
 .Sq Em Box  .Sq Em Box
 .Em comments .  .Em comments .
 .Nm Indent  .Nm indent
 assumes that any comment with a dash, star, or newline immediately after  assumes that any comment with a dash, star, or newline immediately after
 the start of comment (that is, `/*\-', `/**' or `/*' followed  the start of comment (that is, `/*\-', `/**' or `/*' followed
 immediately by a newline character) is a comment surrounded  immediately by a newline character) is a comment surrounded
Line 383 
Line 383 
 .Pp  .Pp
 .Em Straight text .  .Em Straight text .
 All other comments are treated as straight text.  All other comments are treated as straight text.
 .Nm Indent  .Nm indent
 fits as many words (separated by blanks, tabs, or newlines) on a  fits as many words (separated by blanks, tabs, or newlines) on a
 line as possible.  Blank lines break paragraphs.  line as possible.  Blank lines break paragraphs.
 .Pp  .Pp
Line 414 
Line 414 
 compensate for the syntactic peculiarities introduced.  compensate for the syntactic peculiarities introduced.
 .Pp  .Pp
 .Ss C syntax  .Ss C syntax
 .Nm Indent  .Nm indent
 understands a substantial amount about the syntax of C, but it  understands a substantial amount about the syntax of C, but it
 has a `forgiving' parser.  It attempts to cope with the usual sorts of  has a `forgiving' parser.  It attempts to cope with the usual sorts of
 incomplete and misformed syntax.  In particular, the use of macros like:  incomplete and misformed syntax.  In particular, the use of macros like:
Line 423 
Line 423 
 .Pp  .Pp
 is handled properly.  is handled properly.
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 .Nm Indent  .Nm indent
 uses the  uses the
 .Ev HOME  .Ev HOME
 environment variable.  environment variable.
Line 440 
Line 440 
 command appeared in  command appeared in
 .Bx 4.2 .  .Bx 4.2 .
 .Sh BUGS  .Sh BUGS
 .Nm Indent  .Nm indent
 has even more switches than  has even more switches than
 .Xr ls 1 .  .Xr ls 1 .
 .Pp  .Pp

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5