[j-nsp] Is it possible to pass apostrophe character(ASCII dec code 39) as an argument value to SLAX script?

Phil Shafer phil at juniper.net
Thu Jul 12 16:21:06 EDT 2018


Martin T writes:
>Is it possible to pass apostrophe character(ASCII dec code 39) as an
>argument value to SLAX script? I have tried to escape it, but it does
>not seem to work:

Quote it:

version 1.2;

param $char = "-";

main <op-script-results> {
    <output> "got: " _ $char;
}

root at box> op apos char "`"
got: `

root at box>

Thanks,
 Phil


More information about the juniper-nsp mailing list