[Top][All Lists]

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

Re: remove length limitation for substituted vars

From: Stepan Kasal
Subject: Re: remove length limitation for substituted vars
Date: Wed, 6 Dec 2006 12:42:24 +0100
User-agent: Mutt/

Hello Ralf,

On Tue, Dec 05, 2006 at 09:49:11PM +0100, Ralf Wildenhues wrote:
> The move to use awk for config files arbitrarily reintroduced a
> limitation not present in Dan Manthey's earlier code: the length of
> a substituted (multi-line) value was now limited to the size of the
> sed pattern space, because the mangle script slurped in a full value.
> Dan's approach had this limit only per line, not per variable.

I do not understand the last sentence.

In a config.status generated by a configure sript generated by
Autoconf 2.61, I see somthing like this:

s,@VARIABLE@,|#_!!_#|A 1234567890\
B 1234567890\
C 1234567890,g

I agree that even if the total length of the multiline value were
greater than the pattern space limit, this config.status would have
been successfully generated.

But wouldn't then running this config.status cause problems?
The substitution command would make the pattern line longer than the

Was the limitation really ``reintroduced''?

Have a nice day,
        Stepan Kasal

reply via email to

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