[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texi2dvi: locale-dependent error in egrep [A-z]
From: |
Karl Berry |
Subject: |
Re: texi2dvi: locale-dependent error in egrep [A-z] |
Date: |
Tue, 30 Mar 2010 23:20:56 GMT |
Hi Martin,
LC_ALL=de_DE.utf8 /usr/bin/texi2dvi /some/path/and/file.texi
egrep: Invalid range end
1686: echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
Thanks for the report. I changed it to [A-Za-z] but I don't actually
understand why [A-z] is invalid in UTF-8, including American English UTF-8.
$ env LC_ALL=en_US.utf8 grep '[A-z]' /etc/issue
grep: Invalid range end
UTF-8 is the same as ASCII in this area, so where's the beef?
Can you (or anyone) here explain?
Of course I know that [A-z] includes the ASCII characters between Z
and a, namely [\]^_` which technically aren't allowed as DOS drive
letters, so the range has always been incorrect in that sense, but I
don't see why it's an "invalid range end" in UTF8 (and not "C").
Thanks,
k