diff options
author | John Ankarstrom <john@ankarstrom.se> | 2021-07-04 20:38:22 +0200 |
---|---|---|
committer | John Ankarstrom <john@ankarstrom.se> | 2021-07-04 20:57:50 +0200 |
commit | 7a146405067c656eb8349af92d091dbaa453deae (patch) | |
tree | b87e60e162f5abb5872c86793e3e1569859bb562 /list | |
parent | 2b261f4504a4f640b6fa8cd18d7d2818d3856a4d (diff) | |
download | mk-7a146405067c656eb8349af92d091dbaa453deae.tar.gz |
Rename .l(, .l) to .(l, .)l
This fits better with established practice (see the me macros).
Diffstat (limited to 'list')
-rwxr-xr-x | list/list | 6 | ||||
-rw-r--r-- | list/list.1 | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -9,12 +9,12 @@ use Getopt::Std; BEGIN { getopt('Ep:s:') } -if (/^\.\s*l\(\s*$/ .. /^\.\s*l\)\s*$/) { +if (/^\.\s*\(l\s*$/ .. /^\.\s*\)l\s*$/) { not $opt_E and s/^\\!// and next; - if (/^\.\s*l\(\s*$/) { + if (/^\.\s*\(l\s*$/) { $_ = ''; $_ = "$opt_p\n" if $opt_p; - } elsif (/^\.\s*l\)\s*$/) { + } elsif (/^\.\s*\)l\s*$/) { $_ = ''; $_ = "$opt_s\n" if $opt_s; } else { diff --git a/list/list.1 b/list/list.1 index 02a89d8..019c738 100644 --- a/list/list.1 +++ b/list/list.1 @@ -15,9 +15,9 @@ .Pp .Nm escapes text between -.Ql .l( +.Ql .(l and -.Ql .l) +.Ql .)l lines for .Xr troff 1 . .Pp |