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

Bug#590130: texinfo: texi2dvi egrep warning for bad regexp char range



Package: texinfo
Version: 4.13a.dfsg.1-5
Severity: minor
File: /usr/bin/texi2dvi

Running texi2dvi with LANG=en_US gives a warning message from egrep.
For example an empty dummy input,

    touch foo.texi
    LANG=en_US texi2dvi foo.texi

prints

    egrep: Invalid range end

I suppose in

    echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \

the A-z is no good when there's a territory in the $LANG, or something
stupid like that.  (If $LANG is unset, or just LANG=en, there's no
warning.)

Perhaps it should be A-Za-z, or "$EGREP -i" insensitive and then A-Z.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages texinfo depends on:
ii  libc6                         2.11.1-3   Embedded GNU C Library: Shared lib

texinfo recommends no packages.

Versions of packages texinfo suggests:
ii  texinfo-doc-nonfree           4.13a-1    texinfo and info documentation tha
ii  texlive-base                  2009-10    TeX Live: Essential programs and f
ii  texlive-generic-recommended   2009-10    TeX Live: Recommended generic pack
ii  texlive-latex-base            2009-10    TeX Live: Basic LaTeX packages

-- no debconf information



Reply to: