FS#21992 - [texinfo] error message when using texi2(dvi|pdf)

Attached to Project: Arch Linux
Opened by Pierre Bourdon (delroth) - Monday, 06 December 2010, 03:54 GMT
Last edited by Allan McRae (Allan) - Monday, 06 December 2010, 05:36 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using texi2dvi or texi2pdf, an error message is printed by egrep because of a bad character range.

/usr/bin/texi2dvi, line 1686:
echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6

egrep [A-z] does not seem to be valid with a recent grep version, so this error happens:
egrep: Invalid range end

Additional info:
* $ pacman -Q texinfo grep
texinfo 4.13a-4
grep 2.7-1

* $ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Steps to reproduce:
$ texi2pdf foo
or
$ texi2dvi foo
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 06 December 2010, 05:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  texinfo 4.13a-5 in [testing]
Comment by Thomas Dziedzic (tomd123) - Monday, 06 December 2010, 04:02 GMT
maybe changing A-z to A-Za-z will work?
Comment by Pierre Bourdon (delroth) - Monday, 06 December 2010, 04:05 GMT
It does, and it looks like the fix was commited in upstream 8 months ago: http://cvs.savannah.gnu.org/viewvc/texinfo/texinfo/util/texi2dvi?revision=1.158&view=markup

Loading...