Bug#584191: texinfo: texi2dvi fails fails with absolute path and non-C locale
Package: texinfo
Version: 4.13a.dfsg.1-5
Severity: normal
$ texi2dvi `pwd`/gmp.texi
egrep: Invalid range end
/usr/bin/texi2dvi: cannot read .//tmp/test/gmp.texi, skipping.
The cause of the failure is
1711 # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex),
1712 # prepend `./' in order to avoid that the tools take it as an option.
1713 echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
1714 || command_line_filename="./$command_line_filename"
$ LC_ALL=en_US.UTF-8 grep -E '[A-z]'
grep: Invalid range end
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34-ck1-e40152ee (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages texinfo depends on:
ii libc6 2.10.2-9 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-9 TeX Live: Essential programs and f
ii texlive-generic-recommended 2009-9 TeX Live: Recommended generic pack
ii texlive-latex-base 2009-9 TeX Live: Basic LaTeX packages
-- no debconf information
Reply to: