[Top][All Lists]

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

Re: braced variable expansion in here documents

From: Stepan Kasal
Subject: Re: braced variable expansion in here documents
Date: Fri, 2 Jun 2006 14:41:42 +0200
User-agent: Mutt/


attached please find a patch which checks for the ksh93f bug in
expanding here-documents.

I understand that changing the better shell routine might be
dangerous; but it is less dangerous in this case:

Ralf made a quick search and it seems that the UnixWare was the only
one having that among the candidates for a better shell.
(Solaris has it under the name `dtksh' and AIX under the name

On Fri, May 26, 2006 at 10:24:09AM -0700, Paul Eggert wrote:
> The problem isn't dtksh; it is systems that use, or plan to use, ksh93
> under some name like 'ksh' or 'sh'.  This could well be more of a
> problem in the near future.

I think this was written before Ralf found out that ksh93g fixes the

To sum up, I believe my check won't stir up the better shell
selection too much.  Dear ``release engineer'' would you consider
installing it now?

In any case, I believe we need it in the long run: the bug is mean,
hard to identify, and it is possible that it will hit an innocent
user who has a long here-document in his

The patch also contains some sharpening of the documentation
describing the bug.  Is the wording OK?

Have a nice day,

Attachment: autoconf-20060602-here-doc.patch
Description: Text document

reply via email to

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