[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to patsubst the result of an include?
From: |
Matthew Braithwaite |
Subject: |
Re: How to patsubst the result of an include? |
Date: |
Wed, 2 Feb 2005 08:10:24 -0800 |
User-agent: |
Mutt/1.4.2.1i |
On Wed, Feb 02, 2005 at 11:11:23AM +0100, Stepan Kasal wrote:
>
> It seems to be as simple as
>
> patsubst(include(`file'),`searchstring',`replacement')
>
> so it fully expands the contents of `file', then does the substitution,
> and then expands the result again.
$ cat ab
a, b
$ m4
patsubst(include(`ab'), `a', `b')
stdin:1: m4: Warning: Excess arguments to built-in `patsubst' ignored
a
- How to patsubst the result of an include?, Matthew Braithwaite, 2005/02/02
- Re: How to patsubst the result of an include?, Stepan Kasal, 2005/02/02
- Re: How to patsubst the result of an include?,
Matthew Braithwaite <=
- Re: How to patsubst the result of an include?, Stepan Kasal, 2005/02/03
- Re: How to patsubst the result of an include?, Gary V. Vaughan, 2005/02/04
- Re: How to patsubst the result of an include?, Stepan Kasal, 2005/02/04
- Re: How to patsubst the result of an include?, Gary V. Vaughan, 2005/02/04
- Re: How to patsubst the result of an include?, Stepan Kasal, 2005/02/07
- Re: How to patsubst the result of an include?, Gary V. Vaughan, 2005/02/07
- Re: How to patsubst the result of an include?, Steven Simpson, 2005/02/04
- Re: How to patsubst the result of an include?, Stepan Kasal, 2005/02/03