On Sun, Oct 04, 2015 at 10:56:45PM -0400, Rob Pierce wrote:
> 
> Index: style.9
> ===================================================================

there are many more places in this place you'd have to add colons if you
wanted to do it consistently. generally i do use colons for stuff like
this but that's really a matter of preference. this page has so many
indented examples we'd be drowning if we added them everywhere.

i don;t think this is worthwhile.

jmc

> RCS file: /cvs/src/share/man/man9/style.9,v
> retrieving revision 1.62
> diff -u -p -r1.62 style.9
> --- style.9   5 Oct 2015 01:22:34 -0000       1.62
> +++ style.9   5 Oct 2015 11:41:35 -0000
> @@ -471,12 +471,12 @@ is volatile, but
>  is not.
>  To make
>  .Dq *foo
> -volatile use the syntax
> +volatile use the syntax:
>  .Bd -literal -offset indent
>  volatile char *foo;
>  .Ed
>  .Pp
> -If both the pointer and the thing pointed to are volatile use
> +If both the pointer and the thing pointed to are volatile use:
>  .Bd -literal -offset indent
>  volatile char *volatile foo;
>  .Ed
> @@ -506,11 +506,11 @@ functions where the compiler does not kn
>  .Pp
>  Don't use
>  .Ql \&!
> -for tests unless it's a boolean, i.e., use
> +for tests unless it's a boolean, i.e., use:
>  .Bd -literal -offset indent
>  if (*p == '\e0')
>  .Ed
> -not
> +not:
>  .Bd -literal -offset indent -compact
>  if (!*p)
>  .Ed
> 

Reply via email to