diff -Nru units-filter-3.5/debian/changelog units-filter-3.5/debian/changelog --- units-filter-3.5/debian/changelog 2011-08-27 18:46:28.000000000 +0000 +++ units-filter-3.5/debian/changelog 2011-11-19 13:00:46.000000000 +0000 @@ -1,3 +1,10 @@ +units-filter (3.5-2) unstable; urgency=low + + * fixed typos in the manpage, thanks to A. Costa's patch. + Closes: #649228 + + -- Georges Khaznadar Sat, 19 Nov 2011 14:00:30 +0100 + units-filter (3.5-1) unstable; urgency=low * fixed a bug which appeared with data containing too much digits. diff -Nru units-filter-3.5/debian/patches/debian-changes-3.5-2 units-filter-3.5/debian/patches/debian-changes-3.5-2 --- units-filter-3.5/debian/patches/debian-changes-3.5-2 1970-01-01 00:00:00.000000000 +0000 +++ units-filter-3.5/debian/patches/debian-changes-3.5-2 2011-11-19 13:10:47.000000000 +0000 @@ -0,0 +1,96 @@ +Description: Upstream changes introduced in version 3.5-2 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + units-filter (3.5-2) unstable; urgency=low + . + * fixed typos in the manpage, thanks to A. Costa's patch. + Closes: #649228 + . + The person named in the Author field signed this changelog entry. +Author: Georges Khaznadar +Bug-Debian: http://bugs.debian.org/649228 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- units-filter-3.5.orig/manpage.xml ++++ units-filter-3.5/manpage.xml +@@ -122,16 +122,16 @@ standard SI unit, followed by the physic + + + +- Like Significative. ++ Like Significant. + +- Takes in account the number of significative digits. For +-example 1.0 m contains 2 significative digits, while 0.00100 contains +-3 significative digits. It is possible to enforce the number of +-significative digits by using a special syntax : if units-filter ++ Takes in account the number of significant digits. For ++example 1.0 m contains 2 significant digits, while 0.00100 contains ++3 significant digits. It is possible to enforce the number of ++significant digits by using a special syntax : if units-filter + parses the input "1.0m#6", it interprets it as a value with exactly 6 +-significative digits, like "1.00000 m". The number following the # +-sign is the forced number of significative digits. The number of +-significative digits appears just before the last zero in the output ++significant digits, like "1.00000 m". The number following the # ++sign is the forced number of significant digits. The number of ++significant digits appears just before the last zero in the output + of the command (this zero is a placeholder for future extensions). + + +@@ -145,7 +145,7 @@ physical unit in the International Syste + simplification with usual units. For example, a newton will be represented by + the unit N in place of m.kg.s^-2. The value is expressed as a floating number + with one digit before the decimal point, and as many digits in the mantissa as +-necessary to fit the desired number of significative digits (see an example ++necessary to fit the desired number of significant digits (see an example + below). It is possible to enforce the output unit : just add a colon and the + desired unit at the end of the input. If this unit is homogeneous with the + former one, it will be used to format the output. +@@ -167,19 +167,19 @@ in LaTeX language. + + + EXAMPLES +- Establishing the SI value and units exponents of a quantity in the mksa system: ++ Establish the SI value and unit exponent of a quantity in the mksa system: + ~$ echo 1.5e3 nN.m.s^-1 | units-filter + 1.5e-6 2 1 -3 0 0 0 0 + which means : 1.5e-6 (SI unit) m^2.kg.s^-3 + +-Comparing to different physical quantities: ++Compare different physical quantities: + ~$ e1=$(echo "1.2e-3 V" | units-filter) + ~$ e2=$(echo "1200e3 nWb/s"| units-filter) + ~$ if [ "$e1" = "$e2" ]; then echo ok; else echo ko; fi + ok +- ... which emphasizes that webers by unit time are the same than volts. ++ ... which emphasizes that webers by unit time are the same as volts. + +-Playing with the number of significative digits: ++Playing with the number of significant digits: + ~$ echo "0.00100m" | src/units-filter -s + 0.001 1 0 0 0 0 0 0 3 0 + ~$ echo "0.00100m #2" | src/units-filter -s +@@ -203,7 +203,7 @@ in LaTeX language. + + + KNOWN BUGS +-Few units out of the mksa system are sucessfuly parsed. ++Few units out of the mksa system are successfully parsed. + + + diff -Nru units-filter-3.5/debian/patches/series units-filter-3.5/debian/patches/series --- units-filter-3.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ units-filter-3.5/debian/patches/series 2011-11-19 13:10:47.000000000 +0000 @@ -0,0 +1 @@ +debian-changes-3.5-2