[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Awk shell variables inside make
From: |
Paul Smith |
Subject: |
Re: Awk shell variables inside make |
Date: |
Wed, 13 Aug 2008 08:41:15 -0400 |
On Wed, 2008-08-13 at 11:35 +0200, Domingo A. Siliceo wrote:
> The problem I'm having is that the awk command doesn't interprets the
> shell variables, thus I'm obtaining a placas_2.html only with the HTML
> tags. Should I write these shell variables diferently?
Those look to make like make variables, so make is expanding them before
it invokes your recipe.
You have to escape them by doubling them ("$$11" etc.)
See the section "Using Variables in Commands" in the GNU make manual.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.us
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist