Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/texinfo/util Remove trailing whitespace in texi2dvi...



details:   https://anonhg.NetBSD.org/src/rev/2405c9fbcd64
branches:  trunk
changeset: 789659:2405c9fbcd64
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Aug 30 16:24:06 2013 +0000

description:
Remove trailing whitespace in texi2dvi which confuses sed.

XXX pull up to 5, 6?

diffstat:

 gnu/dist/texinfo/util/texi2dvi |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (18 lines):

diff -r 36a51cc5a22a -r 2405c9fbcd64 gnu/dist/texinfo/util/texi2dvi
--- a/gnu/dist/texinfo/util/texi2dvi    Fri Aug 30 15:00:08 2013 +0000
+++ b/gnu/dist/texinfo/util/texi2dvi    Fri Aug 30 16:24:06 2013 +0000
@@ -605,10 +605,10 @@
   # If this is a Texinfo file with a specified input encoding, and
   # recode is available, then recode to plain 7 bit Texinfo.
   if test $language = texinfo; then
-    pgm='s/\(^\|.* \)@documentencoding  *\([^ ][^ ]*\)\( .*\|$\)/\2/  
-       t found                                                
-       d                                                     
-       :found                                               
+    pgm='s/\(^\|.* \)@documentencoding  *\([^ ][^ ]*\)\( .*\|$\)/\2/
+       t found
+       d
+       :found
        q'
     encoding=`sed -e "$pgm" "$filename_input"`
     if $recode && test -n "$encoding" && findprog recode; then



Home | Main Index | Thread Index | Old Index