Skip to contentSkip to conversation

ffix: hyphen-used-as-minus-sign

PATCH In review Simon Paillard 2 participants 2 messages Sep 4, 2013 – Sep 5, 2013 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffix: hyphen-used-as-minus-sign

See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html

---
 man2/ptrace.2 |    2 +-
 man2/setns.2  |    4 ++--
 man7/glob.7   |    2 +-
 man8/ld.so.8  |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
man2/ptrace.2 +1 -1
index 60d5345..f52b43c 100644
@@ -1955,7 +1955,7 @@ file descriptor.
 The usual symptom of this bug is that when you attach to
 a quiescent process with the command
 
-    strace -p <process-ID>
+    strace \-p <process-ID>
 
 then, instead of the usual
 and expected one-line output such as
man2/setns.2 +2 -2
index 780cd80..614cc9c 100644
@@ -146,7 +146,7 @@ Password:
 clone() returned 3550
 uts.nodename in child:  bizarro
 uts.nodename in parent: antero
-# \fBuname -n\fP             # Verify hostname in the shell
+# \fBuname \-n\fP             # Verify hostname in the shell
 antero
 .in
 .fi
@@ -159,7 +159,7 @@ set by the child created by the first program:
 .nf
 .in +4n
 # \fB./ns_exec /proc/3550/ns/uts /bin/bash\fP
-# \fBuname -n\fP             # Executed in shell started by ns_exec
+# \fBuname \-n\fP             # Executed in shell started by ns_exec
 bizarro
 .in
 .fi
man7/glob.7 +1 -1
index d6b52ce..98e6fc8 100644
@@ -120,7 +120,7 @@ With
 .I bash
 one can force the classical behavior using this command:
 
-    shopt -s nullglob
+    shopt \-s nullglob
 .\" In Bash v1, by setting allow_null_glob_expansion=true
 
 (Similar problems occur elsewhere.
man8/ld.so.8 +1 -1
index 76f31b0..eb358ad 100644
@@ -97,7 +97,7 @@ Thus, an application located in
 .I somedir/app
 could be compiled with
 
-    gcc -Wl,-rpath,\(aq$ORIGIN/../lib\(aq
+    gcc \-Wl,\-rpath,\(aq$ORIGIN/../lib\(aq
 
 so that it finds an associated shared library in
 .I somedir/lib
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1378337755-8807-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw
Quoted 1 line · Simon Paillard

See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html

Thanks, Simon. Applied.

Cheers,

Michael

Quoted 61 lines
---
 man2/ptrace.2 |    2 +-
 man2/setns.2  |    4 ++--
 man7/glob.7   |    2 +-
 man8/ld.so.8  |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
man2/ptrace.2 +1 -1
index 60d5345..f52b43c 100644
@@ -1955,7 +1955,7 @@ file descriptor.
 The usual symptom of this bug is that when you attach to
 a quiescent process with the command
 
-    strace -p <process-ID>
+    strace \-p <process-ID>
 
 then, instead of the usual
 and expected one-line output such as
man2/setns.2 +2 -2
index 780cd80..614cc9c 100644
@@ -146,7 +146,7 @@ Password:
 clone() returned 3550
 uts.nodename in child:  bizarro
 uts.nodename in parent: antero
-# \fBuname -n\fP             # Verify hostname in the shell
+# \fBuname \-n\fP             # Verify hostname in the shell
 antero
 .in
 .fi
@@ -159,7 +159,7 @@ set by the child created by the first program:
 .nf
 .in +4n
 # \fB./ns_exec /proc/3550/ns/uts /bin/bash\fP
-# \fBuname -n\fP             # Executed in shell started by ns_exec
+# \fBuname \-n\fP             # Executed in shell started by ns_exec
 bizarro
 .in
 .fi
man7/glob.7 +1 -1
index d6b52ce..98e6fc8 100644
@@ -120,7 +120,7 @@ With
 .I bash
 one can force the classical behavior using this command:
 
-    shopt -s nullglob
+    shopt \-s nullglob
 .\" In Bash v1, by setting allow_null_glob_expansion=true
 
 (Similar problems occur elsewhere.
man8/ld.so.8 +0 -0
index 76f31b0..eb358ad 100644

man8/ld.so.8 Thus, an application located in · line 103

Quoted 8 lines
man8/ld.so.8 +1 -1
@@ -97,7 +97,7 @@ Thus, an application located in
 .I somedir/app
 could be compiled with
 
-    gcc -Wl,-rpath,\(aq$ORIGIN/../lib\(aq
+    gcc \-Wl,\-rpath,\(aq$ORIGIN/../lib\(aq
 
 so that it finds an associated shared library in
 .I somedir/lib

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html