On Sun, Aug 11, 2013 at 09:41:42PM +0200, Jan Stary wrote:
> This is small diff to the manpages in /usr/src/usr.bin/rcs
> What is the advantage of using '\*(Lt' instead of '<' ?
> Is that advantage also valid for things like \*(Ltstdio.h\*(Gt ?
> All the other '<'s and '>'s are typed literally ...
> 
>       Jan
> 
> 

the Lt/Gt was used originally because there was some concern that a)
groff would interpret these at html markers and b) that groff would try
some mathematical shenanigans with registers.

i'm pretty sure the html thing is no longer an issue, but less sure
about how it interprets <> in macros. if we could determine that it
isn;t an issue for sure, we could look at diffs for removing this stuff.

jmc

> 
> Index: ci.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/rcs/ci.1,v
> retrieving revision 1.37
> diff -u -p -u -p -r1.37 ci.1
> --- ci.1      14 Jul 2011 16:31:34 -0000      1.37
> +++ ci.1      11 Aug 2013 19:35:57 -0000
> @@ -133,7 +133,7 @@ Check in revision
>  .Ar rev .
>  However, if
>  .Ar rev
> -is not specified the meaning is completely different \- override any
> +is not specified the meaning is completely different \(en override any
>  .Fl l
>  or
>  .Fl u
> Index: ident.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/rcs/ident.1,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 ident.1
> --- ident.1   29 Jun 2013 09:08:41 -0000      1.12
> +++ ident.1   11 Aug 2013 19:35:57 -0000
> @@ -27,7 +27,7 @@
>  .Sh DESCRIPTION
>  The
>  .Nm
> -program searches for the pattern $keyword:... $ from the
> +program searches for the pattern $keyword: ... $ from the
>  .Ar files
>  specified as argument (or standard input if none are given).
>  See the KEYWORD SUBSTITUTION section of
> @@ -35,7 +35,7 @@ See the KEYWORD SUBSTITUTION section of
>  for more information.
>  .Pp
>  The following options are supported:
> -.Bl -tag -width "XXX"
> +.Bl -tag -width Ds
>  .It Fl q
>  Quiet mode: suppress warnings if no pattern found.
>  .It Fl V
> @@ -47,7 +47,7 @@ Display version information and exit.
>  Given the following source code in file
>  .Pa foo.c :
>  .Bd -literal -offset indent
> -#include \*(Ltstdio.h\*(Gt
> +#include <stdio.h>
>  
>  static char const rcsid[] =
>       "$\&Id: foo.c,v 1.2 2005/11/18 09:34:51 xsa Exp $";
> Index: rlog.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/rcs/rlog.1,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 rlog.1
> --- rlog.1    3 Sep 2010 11:09:29 -0000       1.24
> +++ rlog.1    11 Aug 2013 19:35:57 -0000
> @@ -69,9 +69,9 @@ Select the latest revision before or equ
>  .El
>  .Pp
>  The
> -.Sq \*(Gt
> +.Sq >
>  and
> -.Sq \*(Lt
> +.Sq <
>  characters can be followed by the
>  .Sq =
>  character to imply an inclusive specification.

Reply via email to