bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi2dvi: failure with bsdsed (details inside)


From: Karl Berry
Subject: Re: texi2dvi: failure with bsdsed (details inside)
Date: Tue, 20 May 2014 21:57:42 GMT

    So, to make texi2dvi bsdsed compatible, it would need to
      - detect the charset of the input file
      - set LC_CTYPE and LANG accordingly when calling sed.

Thanks for the report, but that is not feasible -- there is no way to
detect charsets reliably, and there is no reliable way to know the
appropriate LC_CTYPE/LANG/etc., either.

You're talking about any use of sed in that circumstance (locale/file
encoding mismatch).  It makes no sense to try to work around such
fundamental breakage within a particular script.  What does make sense
is not to use Apple's sed if it is that stupid.

karl



reply via email to

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