Explorar el Código

Escape ` and ' in manpages otherwise they are converted to quotation
marks, which makes cut and paste not work. Thanks to Denis Barbier.
Closes: #349925

Guillem Jover hace 20 años
padre
commit
16f28db18b
Se han modificado 6 ficheros con 27 adiciones y 17 borrados
  1. 8 0
      ChangeLog
  2. 3 0
      debian/changelog
  3. 9 9
      man/C/dpkg-architecture.1
  4. 3 4
      man/C/dpkg-name.1
  5. 2 2
      man/C/dpkg-query.1
  6. 2 2
      man/C/dpkg.1

+ 8 - 0
ChangeLog

@@ -1,3 +1,11 @@
+2006-02-11  Denis Barbier  <barbier@debian.org>
+
+	* man/C/dpkg.1: Escape ` and ', otherwise they are converted to
+	quotation marks, which makes cut and paste useless.
+	* man/C/dpkg-query.1: Likewise.
+	* man/C/dpkg-name.1: Likewise.
+	* man/C/dpkg-architecture.1: Likewise.
+
 2006-02-11  Philippe Batailler  <philippe.batailler@free.fr>
 2006-02-11  Philippe Batailler  <philippe.batailler@free.fr>
 
 
 	* man/fr/dpkg.1.fr.po: Updated.
 	* man/fr/dpkg.1.fr.po: Updated.

+ 3 - 0
debian/changelog

@@ -19,6 +19,9 @@ dpkg (1.13.14~) UNRELEASED; urgency=low
   * Document about the default log file, the behaviour in case of multple
   * Document about the default log file, the behaviour in case of multple
     --log options and add a reference to dpkg.cfg manpage in the dpkg manpage.
     --log options and add a reference to dpkg.cfg manpage in the dpkg manpage.
     Thanks to James R. Van Zandt. Closes: #350440
     Thanks to James R. Van Zandt. Closes: #350440
+  * Escape ` and ' in manpages otherwise they are converted to quotation
+    marks, which makes cut and paste not work. Thanks to Denis Barbier.
+    Closes: #349925
 
 
   [ Frank Lichtenheld ]
   [ Frank Lichtenheld ]
   * Let dpkg-source ignore comments in the hunk header as used by
   * Let dpkg-source ignore comments in the hunk header as used by

+ 9 - 9
man/C/dpkg-architecture.1

@@ -1,4 +1,4 @@
-.TH DPKG-ARCHITECTURE 1 "2006-01-23" "Debian GNU/Linux"
+.TH DPKG-ARCHITECTURE 1 "2006-02-11" "Debian GNU/Linux"
 .SH "NAME"
 .SH "NAME"
 dpkg\-architecture \- set and determine the architecture for package building
 dpkg\-architecture \- set and determine the architecture for package building
 .SH "SYNOPSIS"
 .SH "SYNOPSIS"
@@ -74,9 +74,9 @@ x86_64-netbsd.
 dpkg-buildpackage accepts the \fB\-a\fR option and passes it to dpkg\-architecture.
 dpkg-buildpackage accepts the \fB\-a\fR option and passes it to dpkg\-architecture.
 Other examples:
 Other examples:
 .PP
 .PP
-CC=i386\-gnu\-gcc dpkg-architecture \f(CW\*(C`\-c\*(C'\fR debian/rules build
+CC=i386\-gnu\-gcc dpkg\-architecture \f(CW\*(C`\-c\*(C'\fR debian/rules build
 .PP
 .PP
-eval `dpkg\-architecture \f(CW\*(C`\-u\*(C'\fR`
+eval \`dpkg\-architecture \f(CW\*(C`\-u\*(C'\fR\`
 .SH "VARIABLES"
 .SH "VARIABLES"
 .IX Header "VARIABLES"
 .IX Header "VARIABLES"
 The following variables are set by dpkg\-architecture:
 The following variables are set by dpkg\-architecture:
@@ -130,15 +130,15 @@ package:
 Instead of:
 Instead of:
 .IP
 .IP
 .nf
 .nf
-ARCH=`dpkg \-\-print\-architecture`
+ARCH=\`dpkg \-\-print\-architecture\`
 configure $(\s-1ARCH\s0)\-linux
 configure $(\s-1ARCH\s0)\-linux
 .fi
 .fi
 .PP
 .PP
 please use the following:
 please use the following:
 .IP
 .IP
 .nf
 .nf
-\&\s-1DEB_BUILD_GNU_TYPE\s0 := $(shell dpkg-architecture \-qDEB_BUILD_GNU_TYPE)
-\&\s-1DEB_HOST_GNU_TYPE\s0 := $(shell dpkg-architecture \-qDEB_HOST_GNU_TYPE)
+\&\s-1DEB_BUILD_GNU_TYPE\s0 := $(shell dpkg\-architecture \-qDEB_BUILD_GNU_TYPE)
+\&\s-1DEB_HOST_GNU_TYPE\s0 := $(shell dpkg\-architecture \-qDEB_HOST_GNU_TYPE)
 
 
 configure \-\-build=$(\s-1DEB_BUILD_GNU_TYPE\s0) \-\-host=$(\s-1DEB_HOST_GNU_TYPE\s0)
 configure \-\-build=$(\s-1DEB_BUILD_GNU_TYPE\s0) \-\-host=$(\s-1DEB_HOST_GNU_TYPE\s0)
 .fi
 .fi
@@ -147,7 +147,7 @@ configure \-\-build=$(\s-1DEB_BUILD_GNU_TYPE\s0) \-\-host=$(\s-1DEB_HOST_GNU_TYP
 Instead of:
 Instead of:
 .IP
 .IP
 .nf
 .nf
-ARCH=`dpkg \-\-print\-architecture`
+ARCH=\`dpkg \-\-print\-architecture\`
 ifeq ($(\s-1ARCH\s0),alpha)
 ifeq ($(\s-1ARCH\s0),alpha)
   ...
   ...
 endif
 endif
@@ -156,7 +156,7 @@ endif
 please use:
 please use:
 .IP
 .IP
 .nf
 .nf
-\&\s-1DEB_HOST_ARCH\s0 := $(shell dpkg-architecture \-qDEB_HOST_ARCH)
+\&\s-1DEB_HOST_ARCH\s0 := $(shell dpkg\-architecture \-qDEB_HOST_ARCH)
 
 
 ifeq ($(\s-1DEB_HOST_ARCH\s0),alpha)
 ifeq ($(\s-1DEB_HOST_ARCH\s0),alpha)
   ...
   ...
@@ -229,7 +229,7 @@ default values will be overwritten if dpkg-architecture is used.
 .PP
 .PP
 You don't need the full set. Choose a consistent set which contains the
 You don't need the full set. Choose a consistent set which contains the
 values you use in the rules file. For example, if you only need the host
 values you use in the rules file. For example, if you only need the host
-Debian architecture, `DEB_HOST_ARCH=`dpkg \-\-print\-architecture`
+Debian architecture, `DEB_HOST_ARCH=\`dpkg \-\-print\-architecture\`'
 is sufficient (this is indeed the Debian architecture of the build machine,
 is sufficient (this is indeed the Debian architecture of the build machine,
 but remember that we are only trying to be backward compatible with native
 but remember that we are only trying to be backward compatible with native
 compilation).
 compilation).

+ 3 - 4
man/C/dpkg-name.1

@@ -3,8 +3,7 @@
 .\"
 .\"
 .\" This is free software; see the GNU General Public Licence version 2
 .\" This is free software; see the GNU General Public Licence version 2
 .\" or later for copying conditions.  There is NO warranty.
 .\" or later for copying conditions.  There is NO warranty.
-.\" Time-stamp: <96/05/03 14:00:06 root>
-.TH dpkg\-name 1 "May 1996" "Debian Project" "dpkg utilities"
+.TH dpkg\-name 1 "2006-02-11" "Debian Project" "dpkg utilities"
 .SH NAME
 .SH NAME
 dpkg\-name \- rename Debian packages to full package names
 dpkg\-name \- rename Debian packages to full package names
 .SH SYNOPSIS
 .SH SYNOPSIS
@@ -30,12 +29,12 @@ The file `bar\-foo.deb' will be renamed to bar\-foo_1.0\-2_i386.deb or
 something similar (depending on whatever information is in the control
 something similar (depending on whatever information is in the control
 part of `bar\-foo.deb').
 part of `bar\-foo.deb').
 .TP
 .TP
-.B find /root/debian/ \-name '*.deb' | xargs \-n 1 dpkg\-name \-a
+.B find /root/debian/ \-name \(aq*.deb\(aq | xargs \-n 1 dpkg\-name \-a
 All files with the extension `deb' in the directory /root/debian and its
 All files with the extension `deb' in the directory /root/debian and its
 subdirectory's will be renamed by dpkg\-name if required into names with no
 subdirectory's will be renamed by dpkg\-name if required into names with no
 architecture information.
 architecture information.
 .TP
 .TP
-.B find \-name '*.deb' | xargs \-n 1 dpkg\-name \-a \-o \-s \-c
+.B find \-name \(aq*.deb\(aq | xargs \-n 1 dpkg\-name \-a \-o \-s \-c
 .B Don't do this.
 .B Don't do this.
 Your archive will be messed up completely because a lot of packages
 Your archive will be messed up completely because a lot of packages
 don't come with section information.
 don't come with section information.

+ 2 - 2
man/C/dpkg-query.1

@@ -1,4 +1,4 @@
-.TH dpkg\-query 1 "2006-02-10" "Debian Project" "dpkg suite"
+.TH dpkg\-query 1 "2006-02-11" "Debian Project" "dpkg suite"
 .SH NAME
 .SH NAME
 dpkg\-query \- a tool to query the dpkg database
 dpkg\-query \- a tool to query the dpkg database
 .
 .
@@ -49,7 +49,7 @@ list all package names starting with \*(lqlibc6\*(rq:
 
 
 .T
 .T
 .nf
 .nf
-  \fBdpkg\-query \-l 'libc6*'\fP
+  \fBdpkg\-query \-l \(aqlibc6*\(aq\fP
 .fi
 .fi
 
 
 The output format of this option is not configurable, but varies
 The output format of this option is not configurable, but varies

+ 2 - 2
man/C/dpkg.1

@@ -1,4 +1,4 @@
-.TH DPKG 1 "2006-02-10" "Debian Project" "dpkg suite"
+.TH DPKG 1 "2006-02-11" "Debian Project" "dpkg suite"
 .SH NAME
 .SH NAME
 dpkg - package manager for Debian
 dpkg - package manager for Debian
 
 
@@ -553,7 +553,7 @@ file.
 .SH EXAMPLES
 .SH EXAMPLES
 To list packages related to the editor vi:
 To list packages related to the editor vi:
 .br
 .br
-\fB     dpkg \-l '*vi*'\fP
+\fB     dpkg \-l \(aq*vi*\(aq\fP
 .br
 .br
 
 
 To see the entries in \fI/var/lib/dpkg/available\fP on two packages:
 To see the entries in \fI/var/lib/dpkg/available\fP on two packages: