Edward Bownass wrote:
> I'm having some problems passing multiple arguments across the command line.
>
> What I want to do is send three variables through the command line using the
> +C argument. However, it's not happy processing all three, I can get it to
> work fine processing one.
>
> I've tried the following (from a perl script)
>
> $configdata = "CACHEOUTFILE $cacheout
> VHOSTINCLUDE $domain
> HOSTNAME $title
> HOSTURL $url";
>
> analog -U$cachefile +C\"$configdata\" -gmain.cfg
>
> I've also tried sending three seperate +C statements, but it didn't like
> that either.
The latter is the proper way of passing multiple arguments. Try something like
this:
analog -U$cachefile -gmain.cfg +C"CACHEOUTFILE $cacheout" +C"VHOSTINCLUDE
$domain" +C"HOSTNAME title" +C"HOSTURL $url"
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------