On Thu, Jul 12, 2018 at 11:20 PM Phil Shafer <p...@juniper.net> wrote: > > 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@box> op apos char "`" > got: ` > > root@box> > > Thanks, > Phil
Phil, aren't you using grave accent("echo -e "\x60"") character? I was using "echo -e "\x27"" character. thanks, Martin _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp