[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.9 and 1.10

version 1.9, 2000/03/23 21:39:53 version 1.10, 2001/01/08 07:14:42
Line 1 
Line 1 
 .\"     $OpenBSD$  .\"     $OpenBSD$
 .\"  .\"
 .\" Copyright (c) 1980, 1990 The Regents of the University of California.  .\" Copyright (c) 1980, 1990, 1993
   .\"     The Regents of the University of California.
 .\" Copyright (c) 1985 Sun Microsystems, Inc.  .\" Copyright (c) 1985 Sun Microsystems, Inc.
 .\" Copyright (c) 1976 Board of Trustees of the University of Illinois.  .\" Copyright (c) 1976 Board of Trustees of the University of Illinois.
 .\" All rights reserved.  .\" All rights reserved.
Line 33 
Line 34 
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF  .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.  .\" SUCH DAMAGE.
 .\"  .\"
 .\"     from: @(#)indent.1      6.11 (Berkeley) 7/24/91  .\"     from: @(#)indent.1      8.1 (Berkeley) 7/1/93
 .\"  .\"
 .Dd July 24, 1991  .Dd July 1, 1993
 .Dt INDENT 1  .Dt INDENT 1
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 110 
Line 111 
 .Pa /blah/blah/file ,  .Pa /blah/blah/file ,
 the backup file is named  the backup file is named
 .Pa file.BAK .  .Pa file.BAK .
   If
   .Pa file.BAK
   exists, it is overwritten.
 .Pp  .Pp
 If  If
 .Ar output-file  .Ar output-file
Line 137 
Line 141 
 .It Fl bbb , nbbb  .It Fl bbb , nbbb
 If  If
 .Fl bbb  .Fl bbb
 is specified, a blank line is forced before every block comment.Default:  is specified, a blank line is forced before every block comment.
   Default:
 .Fl nbbb .  .Fl nbbb .
 .It Fl \&bc , nbc  .It Fl \&bc , nbc
 If  If
Line 146 
Line 151 
 .Fl nbc  .Fl nbc
 turns off this option.  turns off this option.
 The default is  The default is
 .Fl \&bc .  .Fl \&nbc .
 .It Fl \&br , \&bl  .It Fl \&br , \&bl
 Specifying  Specifying
 .Fl \&bl  .Fl \&bl
Line 221 
Line 226 
 tab stops to the right of the containing  tab stops to the right of the containing
 .Ic switch  .Ic switch
 statement.  statement.
 .Fl cli0 .5  .Fl cli0.5
 causes case labels to be indented half a tab stop.  causes case labels to be indented half a tab stop.
 The default is  The default is
 .Fl cli0 .  .Fl cli0 .
Line 292 
Line 297 
 in effect:  in effect:
 .ne 2  .ne 2
 .Bd -literal -offset indent  .Bd -literal -offset indent
 .Li p1 = first_procedure(second_procedure(p2, p3),  p1 = first_procedure(second_procedure(p2, p3),
 .Li \ \ third_procedure(p4,p5));  \ \ third_procedure(p4,p5));
 .Ed  .Ed
 .Pp  .Pp
 .ne 5  .ne 5
Line 301 
Line 306 
 .Fl lp  .Fl lp
 in effect (the default) the code looks somewhat clearer:  in effect (the default) the code looks somewhat clearer:
 .Bd -literal -offset indent  .Bd -literal -offset indent
 .Li p1\ =\ first_procedure(second_procedure(p2,\ p3),  p1\ =\ first_procedure(second_procedure(p2,\ p3),
 .Li \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,p5));  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,p5));
 .Ed  .Ed
 .Pp  .Pp
 .ne 5  .ne 5
 Inserting two more newlines we get:  Inserting two more newlines we get:
 .Bd -literal -offset indent  .Bd -literal -offset indent
 .Li p1\ =\ first_procedure(second_procedure(p2,  p1\ =\ first_procedure(second_procedure(p2,
 .Li \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ p3),  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ p3),
 .Li \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,
 .Li \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ p5));  \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ p5));
 .Ed  .Ed
 .It Fl npro  .It Fl npro
 Causes the profile files,  Causes the profile files,

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10