[nco] 27/32: Add patch to fix hyphen-used-as-minus-sign issues in man pages.

Bas Couwenberg sebastic at xs4all.nl
Mon Jan 19 00:00:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository nco.

commit d6e2ca5d71b66da7eee5abb74422ed6aaeb080c5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jan 18 21:22:28 2015 +0100

    Add patch to fix hyphen-used-as-minus-sign issues in man pages.
---
 debian/changelog                               |  1 +
 debian/patches/hyphen-used-as-minus-sign.patch | 64 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 66 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8442266..9c46966 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ nco (4.4.7-1) UNRELEASED; urgency=medium
   * Don't install libnco.la.
   * Enable parallel builds.
   * Install xmp images alongside documentation.
+  * Add patch to fix hyphen-used-as-minus-sign issues in man pages.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 18 Jan 2015 16:40:05 +0100
 
diff --git a/debian/patches/hyphen-used-as-minus-sign.patch b/debian/patches/hyphen-used-as-minus-sign.patch
new file mode 100644
index 0000000..5bdf29b
--- /dev/null
+++ b/debian/patches/hyphen-used-as-minus-sign.patch
@@ -0,0 +1,64 @@
+Description: Fix hyphen-used-as-minus-sign linian issue by escaping minus signs.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+
+--- a/man/ncatted.1
++++ b/man/ncatted.1
+@@ -417,10 +417,10 @@ with care.
+ Append the string "Data version 2.0.\\n" to the global attribute
+ .BR history :
+ .RS
+-ncatted -O -a history,global,a,c,"Data version 2.0\\n" in.nc 
++ncatted \-O \-a history,global,a,c,"Data version 2.0\\n" in.nc 
+ .RE
+ Note the use of embedded C language 
+-.BR printf() -style
++.BR printf() \-style
+ escape
+ sequences. 
+ .PP
+@@ -430,14 +430,14 @@ attribute for variable
+ .B T
+ from whatever it currently is to "temperature":
+ .RS
+-ncatted -O -a long_name,T,o,c,temperature in.nc
++ncatted \-O \-a long_name,T,o,c,temperature in.nc
+ .RE
+ .PP
+ Delete all existing 
+ .B units
+ attributes:
+ .RS
+-ncatted -O -a units,,d,, in.nc
++ncatted \-O \-a units,,d,, in.nc
+ .RE
+ The value of 
+ .I var_nm
+@@ -456,7 +456,7 @@ Modify all existing
+ .B units
+ attributes to "meter second-1"
+ .RS
+-ncatted -O -a units,,m,c,"meter second-1" in.nc
++ncatted \-O \-a units,,m,c,"meter second-1" in.nc
+ .RE
+ .PP
+ Overwrite the 
+@@ -465,7 +465,7 @@ attribute of variable
+ .B energy
+ to an array of four integers. 
+ .RS
+-ncatted -O -a quanta,energy,o,s,"010,101,111,121" in.nc
++ncatted \-O \-a quanta,energy,o,s,"010,101,111,121" in.nc
+ .RE
+ .PP
+ See the manual for more complex examples, including how to input
+--- a/man/ncks.1
++++ b/man/ncks.1
+@@ -47,7 +47,7 @@ dbg_lvl]
+ .IR output-file ] 
+ [\-P] [\-p 
+ .IR path ]
+-[-Q] [\-q]
++[\-Q] [\-q]
+ [\-R] [\-r] [\-\-rad] [\-\-ram_all] [\-s 
+ .IR format ]
+ [\-u] [\--unn] [\-V] [\-v 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ac8e90e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hyphen-used-as-minus-sign.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git



More information about the Pkg-grass-devel mailing list