[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config files substitution with awk
From: |
Paul Eggert |
Subject: |
Re: config files substitution with awk |
Date: |
Tue, 21 Nov 2006 07:31:59 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> It helps to keep m4 from expanding $0, without needing to think about
> level of m4 quotation currently in place. AFAIK it's portable.
Yes, I just checked the Unix Version 7 sources, and it seems to have
worked there.
> I am still pondering abandoning sub completely though, and using substr
> and length to do the replacement manually, due to the \& escaping
> issues.
Sounds like it might be a win.
> Also I wonder how to get around this limitation (autoconf.texi):
> | Traditional Awk `split' supports only two arguments.
That part of autoconf.texi seems to be incorrect. Sorry about that.
The Unix V7 grammar for awk says 'split' takes either two or three
arguments. I don't now remember why I put that statement into the
manual; I should remove it.
- config files substitution with awk, Ralf Wildenhues, 2006/11/19
- Re: config files substitution with awk, Paul Eggert, 2006/11/20
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/20
- Re: config files substitution with awk, Paolo Bonzini, 2006/11/21
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/21
- Re: config files substitution with awk,
Paul Eggert <=
- Re: config files substitution with awk, Paul Eggert, 2006/11/21
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/21
- Message not available
- Re: config files substitution with awk, Paul Eggert, 2006/11/21
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/24
- Re: config files substitution with awk, Paul Eggert, 2006/11/26
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/27
- Re: config files substitution with awk, Ralf Wildenhues, 2006/11/28
- Re: config files substitution with awk, Paul Eggert, 2006/11/27
- awk: $0 != $ 0 (was: config files substitution with awk), Ralf Wildenhues, 2006/11/24
- Re: awk: $0 != $ 0, Paul Eggert, 2006/11/26