Remove physical markup.
This commit is contained in:
parent
833d1509e8
commit
614d810747
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: indent.1,v 1.18 2005/09/11 23:17:34 wiz Exp $
|
||||
.\" $NetBSD: indent.1,v 1.19 2009/03/24 00:17:25 joerg Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -210,7 +210,6 @@ Default:
|
|||
Specifying
|
||||
.Fl \&bl
|
||||
lines up compound statements like this:
|
||||
.ne 4
|
||||
.Bd -literal -offset indent
|
||||
if (...)
|
||||
{
|
||||
|
@ -221,7 +220,6 @@ if (...)
|
|||
Specifying
|
||||
.Fl \&br
|
||||
(the default) makes them look like this:
|
||||
.ne 3
|
||||
.Bd -literal -offset indent
|
||||
if (...) {
|
||||
code
|
||||
|
@ -246,7 +244,6 @@ is for these comments to start in the same column as those on code.
|
|||
.It Fl cdb , ncdb
|
||||
Enables (disables) the placement of comment delimiters on blank lines.
|
||||
With this option enabled, comments look like this:
|
||||
.ne 3
|
||||
.Bd -literal -offset indent
|
||||
/*
|
||||
* this is a comment
|
||||
|
@ -365,13 +362,11 @@ position just after the left paren.
|
|||
For example, here is how a piece of continued code looks with
|
||||
.Fl nlp
|
||||
in effect:
|
||||
.ne 2
|
||||
.Bd -literal -offset indent
|
||||
p1 = first_procedure(second_procedure(p2, p3),
|
||||
\ \ third_procedure(p4,p5));
|
||||
.Ed
|
||||
.Pp
|
||||
.ne 5
|
||||
With
|
||||
.Fl lp
|
||||
in effect (the default) the code looks somewhat clearer:
|
||||
|
@ -380,7 +375,6 @@ p1\ =\ first_procedure(second_procedure(p2,\ p3),
|
|||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ third_procedure(p4,p5));
|
||||
.Ed
|
||||
.Pp
|
||||
.ne 5
|
||||
Inserting two more newlines we get:
|
||||
.Bd -literal -offset indent
|
||||
p1\ =\ first_procedure(second_procedure(p2,
|
||||
|
@ -558,7 +552,6 @@ command appeared in
|
|||
has even more switches than
|
||||
.Xr ls 1 .
|
||||
.Pp
|
||||
.ne 5
|
||||
A common mistake that often causes grief is typing:
|
||||
.Pp
|
||||
.Dl indent *.c
|
||||
|
|
Loading…
Reference in New Issue