"Pavel Kankovsky" <[EMAIL PROTECTED]> writes:
> It appears many existing NASL scripts use string() to concatenate strings.
c=a+b; works and should be used instead, right.
However, there is something I do not understand
$ cat /tmp/xxx.nasl
A="haha\\n";
AA=string(A); # \\n --> \n
AAA=string(AA); # \n --> LF
display("A =",A, "\n");
display("AA =",AA, "\n");
display("AAA=",AAA, "\n");
$ nasl -t localhost /tmp/xxx.nasl
A =haha\n
AA =haha\n
AAA=haha\n
$
--
mailto:[EMAIL PROTECTED]
GPG Public keys: http://michel.arboi.free.fr/pubkey.txt
http://michel.arboi.free.fr/ http://arboi.da.ru/
FAQNOPI de fr.comp.securite : http://faqnopi.da.ru/
-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.