version 1.1, 2017/02/08 03:03:19 |
version 1.3, 2022/06/03 12:15:58 |
|
|
.Dd June 29, 2014 |
.\" $OpenBSD$ |
|
.Dd $Mdocdate$ |
.Dt DE-ESCNAME 1 |
.Dt DE-ESCNAME 1 |
.Os OpenBSD |
.Os |
.Sh NAME |
.Sh NAME |
.Nm de-escname |
.Nm de-escname |
.Nd escape sequences in macro names |
.Nd escape sequences in macro names |
Line 22 define first = val1 |
|
Line 23 define first = val1 |
|
val1 |
val1 |
.. |
.. |
.Pp |
.Pp |
Values (first, second, first\esecond): |
define first\e.second = val_dot |
|
.de first\.second |
|
val_dot |
|
.. |
|
.Pp |
|
define first\eGsecond = val_inval |
|
.de first\Gsecond |
|
val_inval |
|
.. |
|
.Pp |
|
Values: |
|
.Bl -tag -width first_.second -compact |
|
.It first |
.first |
.first |
|
.It second |
.second |
.second |
|
.It first\esecond |
.first\\second |
.first\\second |
|
.It first.second |
|
.first.second |
|
.It first\e.second |
|
.first\.second |
|
.It firstGsecond |
|
.firstGsecond |
|
.It first\eGsecond |
|
.first\Gsecond |
|
.El |
.Pp |
.Pp |
Remove all but second: |
Remove all but second: |
.rm first\\second first\esecond second |
.rm first\\second first\esecond second |