groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff/man groff.man


From: Eric S. Raymond
Subject: [Groff-commit] groff/man groff.man
Date: Mon, 19 Feb 2007 22:04:09 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/19 22:04:09

Modified files:
        man            : groff.man 

Log message:
        Eliminate use of .eo/.ec.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff.man?cvsroot=groff&r1=1.92&r2=1.93

Patches:
Index: groff.man
===================================================================
RCS file: /sources/groff/groff/man/groff.man,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- groff.man   19 Feb 2007 21:51:20 -0000      1.92
+++ groff.man   19 Feb 2007 22:04:09 -0000      1.93
@@ -36,9 +36,9 @@
 ..
 .\" ---------------------------------------------------------------------
 .\" .Text anything ...
-.c
+.\"
 .\" All arguments are printed as text.
-.c
+.\"
 .de Text
 .  nop \)\\$*
 ..
@@ -94,148 +94,127 @@
 .  squoted_char \\$@
 ..
 .
-.eo
 .
-.de c
-..
-.c --------- escape sequences ---------
+.\" --------- escape sequences ---------
 .
-.c ---------------------------------------------------------------------
-.c .ESC name [arg]
-.c
-.c Synopsis of an escape sequence, optionally with argument
-.c Args   : 1 or 2; `name' obligatory, `arg' optional
-.c   name : suitable name for an escape sequence (c, (xy, [long])
-.c   arg  : arbitrary word
-.c Result : prints \namearg, where `name' is in CB, `arg' in I
-.c
+.\" ---------------------------------------------------------------------
+.\" .ESC name [arg]
+.\"
+.\" Synopsis of an escape sequence, optionally with argument
+.\" Args   : 1 or 2; `name' obligatory, `arg' optional
+.\"   name : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg  : arbitrary word
+.\" Result : prints \namearg, where `name' is in CB, `arg' in I
+.\"
 .de ESC
-.  if (\n[.$] < 1)
-.    ab .ESC needs 1 or 2 arguments.
-.  Text "\f[CB]\[rs]\$1\,\f[I]\$2\/\fR"
-..
-.c ---------------------------------------------------------------------
-.c .ESC[] name arg
-.c
-.c Synopsis for escape sequence with a bracketed long argument
-.c Args   : 2 obligatory
-.c   name : suitable name for an escape sequence (c, (xy, [long])
-.c   arg  : arbitrary text
-.c Result : prints \name[arg], where `name' is in CB, `arg' in I
-.c
+.  Text "\f[CB]\[rs]\\$1\,\f[I]\\$2\/\fR"
+..
+.\" ---------------------------------------------------------------------
+.\" .ESC[] name arg
+.\"
+.\" Synopsis for escape sequence with a bracketed long argument
+.\" Args   : 2 obligatory
+.\"   name : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg  : arbitrary text
+.\" Result : prints \name[arg], where `name' is in CB, `arg' in I
+.\"
 .de ESC[]
-.  if !(\n[.$] = 2) \
-.    ab .ESC[] needs exactly 2 arguments.
-.  Text "\f[CB]\[rs]\$1\[lB]\f[]\h'-0.2m'\f[I]\$2\f[]\h'-0.15m'\[rB]"
-..
-.c ---------------------------------------------------------------------
-.c .ESCq name arg
-.c
-.c Synopsis for escape sequence with a bracketed long argument
-.c Args   : 2 obligatory
-.c   name : suitable name for an escape sequence (c, (xy, [long])
-.c   arg  : arbitrary text
-.c Result : prints \name'arg', where `name' is in CB, `arg' in I
-.c
+.  Text "\f[CB]\[rs]\\$1\[lB]\f[]\h'-0.2m'\f[I]\\$2\f[]\h'-0.15m'\[rB]"
+..
+.\" ---------------------------------------------------------------------
+.\" .ESCq name arg
+.\"
+.\" Synopsis for escape sequence with a bracketed long argument
+.\" Args   : 2 obligatory
+.\"   name : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg  : arbitrary text
+.\" Result : prints \name'arg', where `name' is in CB, `arg' in I
+.\"
 .de ESCq
-.  if !(\n[.$] = 2) \
-.    ab .ESCq needs exactly 2 argument.
-.  Text "\f[CB]\[rs]\$1\[cq]\f[]\h'-0.3m'\f[I]\$2\f[]\[cq]"
-..
-.c ---------------------------------------------------------------------
-.c .ESC? arg
-.c
-.c Synopsis for escape sequence with a bracketed long argument
-.c Args   : 1 obligatory
-.c   arg  : arbitrary text
-.c Result : prints `\?arg?', where the `?' are in CB, `arg' in I
-.c
+.  Text "\f[CB]\[rs]\\$1\[cq]\f[]\h'-0.3m'\f[I]\\$2\f[]\[cq]"
+..
+.\" ---------------------------------------------------------------------
+.\" .ESC? arg
+.\"
+.\" Synopsis for escape sequence with a bracketed long argument
+.\" Args   : 1 obligatory
+.\"   arg  : arbitrary text
+.\" Result : prints `\?arg?', where the `?' are in CB, `arg' in I
+.\"
 .de ESC?
-.  if !(\n[.$] = 1) \
-.    ab .ESC? needs exactly 1 arguments.
-.  Text "\f[CB]\[rs]?\f[I]\$1\f[CB]?\f[R]"
-..
-.c ---------------------------------------------------------------------
-.c .esc name [punct]
-.c
-.c Reference of an escape sequence (no args), possibly punctuation
-.c Args    : 1 obligatory
-.c   name  : suitable name for an escape sequence (c, (xy, [long])
-.c   punct : arbitrary
-.c Result  : prints \name, where `name' is in B, `punct' in R
-.c
+.  Text "\f[CB]\[rs]?\f[I]\\$1\f[CB]?\f[R]"
+..
+.\" ---------------------------------------------------------------------
+.\" .esc name [punct]
+.\"
+.\" Reference of an escape sequence (no args), possibly punctuation
+.\" Args    : 1 obligatory
+.\"   name  : suitable name for an escape sequence (c, (xy, [long])
+.\"   punct : arbitrary
+.\" Result  : prints \name, where `name' is in B, `punct' in R
+.\"
 .de esc
-.  if (\n[.$] < 1) \
-.    ab .esc needs 1 or 2 arguments.
-.  BR "\[rs]\$1" \$2
-..
-.c ---------------------------------------------------------------------
-.c .escarg name arg [punct]
-.c
-.c Reference of an escape sequence (no args)
-.c Args    : 1 obligatory, 1 optional
-.c   name  : suitable name for an escape sequence (c, (xy, [long])
-.c   arg   : arbitrary word
-.c Result  : prints \namearg, where
-.c           `name' is in B, `arg' in I
-.c
+.  BR "\[rs]\\$1" \\$2
+..
+.\" ---------------------------------------------------------------------
+.\" .escarg name arg [punct]
+.\"
+.\" Reference of an escape sequence (no args)
+.\" Args    : 1 obligatory, 1 optional
+.\"   name  : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg   : arbitrary word
+.\" Result  : prints \namearg, where
+.\"           `name' is in B, `arg' in I
+.\"
 .de escarg
-.  if (\n[.$] < 2) \
-.    ab .esc needs 2 or 3 arguments.
-.  Text \f[B]\[rs]\$1\f[]\f[I]\$2\f[]\$3
-..
-.c ---------------------------------------------------------------------
-.c .esc[] name arg [punct]
-.c
-.c Reference for escape sequence with a bracketed long argument
-.c Args   : 2 obligatory
-.c   name : suitable name for an escape sequence (c, (xy, [long])
-.c   arg  : arbitrary text
-.c Result : prints \name[arg], where `name' is in CB, `arg' in CI
-.c
+.  Text \f[B]\[rs]\\$1\f[]\f[I]\\$2\f[]\\$3
+..
+.\" ---------------------------------------------------------------------
+.\" .esc[] name arg [punct]
+.\"
+.\" Reference for escape sequence with a bracketed long argument
+.\" Args   : 2 obligatory
+.\"   name : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg  : arbitrary text
+.\" Result : prints \name[arg], where `name' is in CB, `arg' in CI
+.\"
 .de esc[]
-.  if (\n[.$] < 2) \
-.    ab .esc[] needs 2 or 3 arguments.
-.  Text \f[B]\[rs]\$1\[lB]\f[]\f[I]\$2\f[]\f[B]\[rB]\f[]\$3
+.  Text \f[B]\[rs]\\$1\[lB]\f[]\f[I]\\$2\f[]\f[B]\[rB]\f[]\\$3
 ..
 .
-.c ---------------------------------------------------------------------
-.c .escq name arg
-.c
-.c Reference for escape sequence with a bracketed long argument
-.c Args   : 2 obligatory
-.c   name : suitable name for an escape sequence (c, (xy, [long])
-.c   arg  : arbitrary text
-.c Result : prints \name'arg', where `name' is in CB, `arg' in CI
-.c
+.\" ---------------------------------------------------------------------
+.\" .escq name arg
+.\"
+.\" Reference for escape sequence with a bracketed long argument
+.\" Args   : 2 obligatory
+.\"   name : suitable name for an escape sequence (c, (xy, [long])
+.\"   arg  : arbitrary text
+.\" Result : prints \name'arg', where `name' is in CB, `arg' in CI
+.\"
 .de escq
-.  if (\n[.$] < 2) \
-.    ab .escq needs 2 arguments.
-.  Text \f[B]\[rs]\$1\[cq]\f[]\f[I]\$2\f[]\f[B]\[cq]\f[]\$3
+.  Text \f[B]\[rs]\\$1\[cq]\f[]\f[I]\\$2\f[]\f[B]\[cq]\f[]\\$3
 ..
 .
-.ec
-.
-.c --------- strings ---------
+.\" --------- strings ---------
 .
-.c synopsis for string, with \*[]
+.\" synopsis for string, with \*[]
 .de STRING
 .  Text \[rs]*[\f[CB]\\$1\f[]] \\$2
 ..
-.c synopsis for a long string
+.\" synopsis for a long string
 .de string
 .  if (\n[.$] = 0) \
 .    return
 .  Text \f[CB]\[rs]*\[lB]\\$1\[rB]\f[]\\$2
 ..
 .
-.c --------- registers ---------
+.\" --------- registers ---------
 .
-.c synopsis for registers, with \n[]
+.\" synopsis for registers, with \n[]
 .de REG
 .  Text \[rs]n[\f[CB]\\$1\f[]]
 ..
-.c reference of a register, without decoration
+.\" reference of a register, without decoration
 .de register
 .  Text register
 .  BR \\$*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]