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

Bug#586134: Invalid grep pattern in texi2dvi



Dear all,

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

http://bugs.debian.org/586134

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
-- 
sigfault



Reply to: