[Top][All Lists]

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

Re: variables in FileExists

From: Eric Sorenson
Subject: Re: variables in FileExists
Date: Tue, 29 Jul 2003 13:40:07 -0700 (PDT)

On Tue, 29 Jul 2003, Daniel Pittman wrote:

> I had issues with variables in built-in commands when I used the $()
> format; I think the parser got odd or something. Try with ${...}
> instead.

Wow, thanks!  This works:

        myconfig = ( FileExists(${cfdir}/${host}.conf) )

Its a bit spooky that $(a) and ${a} are parsed differently when they're
supposed to be synonymous, but I'm glad there's a workaround.


    Eric Sorenson - EXPLOSIVE Networking -

reply via email to

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