File: 0002-smenu.1-Other-man-warnings-fixes-typo.patch

package info (click to toggle)
smenu 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,964 kB
  • sloc: ansic: 17,445; sh: 8,299; makefile: 25
file content (48 lines) | stat: -rw-r--r-- 1,798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 99801daba95368636f81b0db766ac284ba40d7a6 Mon Sep 17 00:00:00 2001
From: Matteo Cypriani <mcy@lm7.fr>
Date: Sat, 10 May 2025 15:11:41 +0200
Subject: smenu.1: Other man warnings fixes + typo

Fixes the following man warnings:

- tbl:<standard input>:686: error: excess table entry 'Do not remove this trailing space!' discarded
- troff:<standard input>:1643: warning: cannot select font 'C'

As well as the following Lintian warning:

- typo-in-manual-page "allows to" "allows one to"
---
 smenu.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/smenu.1 b/smenu.1
index b98f634..f4c1378 100755
--- a/smenu.1
+++ b/smenu.1
@@ -684,7 +684,7 @@ tab(@);
 l l l l l
 l l l l l
 l l l l .
-\\@\\@^@^@\\ @Do not remove this trailing space!
+\\@\\@^@^@\\ \"Do not remove this trailing space!
 |@|@|@|@/
 /@v@/@v
 .TE
@@ -1641,7 +1641,7 @@ as their upper case alternative may have other meanings in the future.
 In selectors, columns can be designated by their number (starting with
 1) or by regular expressions surrounded by delimiters consisting of
 any printable ASCII character, except spaces and unprotected commas;
-commas can be protected by backslashes ('\fCD\\\fP')).
+commas can be protected by backslashes ('\e').
 
 Column ranges are defined  by separating their numbers with a dash. Open
 interval to the left or right are allowed, so these interval descriptions
@@ -1752,7 +1752,7 @@ Once a column or a row has been excluded, it cannot be re-included.
 
 This option is similar to
 \fB-C\fP|\fB-cs\fP|\fB-cols\fP|\fB-cols_select\fP and
-\fB-R\fP|\fB-rs\fP|\fB-rows\fP|\fB-rows_select\fP but allows to
+\fB-R\fP|\fB-rs\fP|\fB-rows\fP|\fB-rows_select\fP but allows one to
 align all words matched by on of the regular expression defined in
 \fIregex_selectors\fP