[Top][All Lists]

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

Invalid grep pattern in texi2dvi

From: Hilmar Preusse
Subject: Invalid grep pattern in texi2dvi
Date: Tue, 2 Nov 2010 13:05:54 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

Dear all,

Down here in the Debian bug tracking system we got to reports
regarding a broken grep pattern in texi2dvi.


The complaint is the following code snippet:

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"

It does not work in the non-POSIX locale. The suggestion by the
submitters is to use either '[A-Za-z]' or '[[:alpha:]]'.

Please evaluate.

Many thanks,
  Hilmar Preuße

reply via email to

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