sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #40760
Re: sed og $ i makefile
On Mon, Aug 13, 2001 at 08:29:46PM +0200, Erik B wrote:
[...]
> Hvordan sikrer jeg at $ bliver bevaret til sed-kommandoen
> og ikke bliver ekspanderet af make.
'$$'. Fra 'info make':
Because dollar signs are used to start variable references, if you
really want a dollar sign in a rule you must write two of them, `$$'
[...]
--
Rasmus(rasmus@xxxxxxxxx)
"Men kick friendship around like a football, but it doesn't seem to
crack. Women treat it like glass and it goes to pieces."
-- Anne Spencer Morrow Lindbergh
References