bug-texinfo
[Top][All Lists]
Advanced

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

texi2dvi: locale-dependent error in egrep [A-z]


From: Martin von Gagern
Subject: texi2dvi: locale-dependent error in egrep [A-z]
Date: Mon, 29 Mar 2010 12:34:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3

Originally reported as http://bugs.gentoo.org/311885

Hi there!

texi2dvi from texinfo 4.13 (as well as current CVS) has a bug in an
egrep invocation, causing the following behaviour:

LC_ALL=de_DE.utf8 /usr/bin/texi2dvi /some/path/and/file.texi
egrep: Invalid range end
/usr/bin/texi2dvi: cannot read .//some/path/and/file.texi, skipping.

The offending line is here:
1686:  echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
The problem is locale-dependent. With LC_ALL=C it works.

I suggest you either replace 'A-z' with 'A-Za-z', or pass LC_ALL=C to
the egrep invocation.

It seems the issue should have present since the initial import of
texinfo into CVS, but perhaps it only manifests itself with recent
versions of egrep. I'm using grep 2.6.1 on Gentoo linux.

As gnulib commit a15107ce73781f47341e347076b6d3584964eef4 introduces
absolute paths for its texi2dvi invocations, I'd expect these issues to
crop up with increasing frequency.

Greetings,
 Martin von Gagern

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]