[Click] Scripting syntax

Eddie Kohler kohler at cs.ucla.edu
Fri Apr 29 10:17:07 EDT 2011


Use writeq not write.

Eddie


On 04/29/2011 01:02 AM, remi.clavier at orange-ftgroup.com wrote:
>
>   an element accepts thrre parameter as
>
> 123,HELLO 500, OPTIMIZE 1000
>
> It work fine usint telnet, but this syntax dont works in a scrpipt
>
> ...
> write ELEM1_HANDLER 123,  //works fine
> write ELEM_HANDLER 123,HELLO 500, OPTIMIZE 1000, //don't works
> ...
>
>
>
> Other variations seems be the same
> write ELEM_HANDLER "123,HELLO 500, OPTIMIZE 1000", //don't works
> write ELEM_HANDLER 123,"HELLO 500", "OPTIMIZE 1000", //don't works
>
> What is the correct syntax?
> Thanks
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list