Bug#584191: texinfo: texi2dvi fails fails with absolute path and non-C locale
hi,
can you please apply this trivial patch to avoid the grep error:
> --- texi2dvi.old 2010-11-01 18:26:24.094156005 +0100
> +++ texi2dvi 2010-10-28 13:36:49.586153463 +0200
> @@ -1710,7 +1710,7 @@ input_file_name_decode ()
>
> # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex),
> # prepend `./' in order to avoid that the tools take it as an option.
> - echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
> + echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 \
> || command_line_filename="./$command_line_filename"
>
> # See if the file exists. If it doesn't we're in trouble since, even
(also attached)
many thanks,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia@ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office@ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
--- texi2dvi.old 2010-11-01 18:26:24.094156005 +0100
+++ texi2dvi 2010-10-28 13:36:49.586153463 +0200
@@ -1710,7 +1710,7 @@ input_file_name_decode ()
# If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex),
# prepend `./' in order to avoid that the tools take it as an option.
- echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
+ echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 \
|| command_line_filename="./$command_line_filename"
# See if the file exists. If it doesn't we're in trouble since, even
Reply to: