Guys,

am I missing something or is that \0 at the end a bug of %S ?
My reasoning is -- it servers no purpose; seems to be impossible
to get rid of and makes %S not all that appealing for post processing
of DTrace output that might contain unprintable characters.

Thoughts?

$ cat q.d
#!/usr/sbin/dtrace -qs

BEGIN {
   st = "\"Roman\'";
   printf("%S\n", st);
}
$ ./q.d  
\"Roman\\'\0
^C

Thanks,
Roman.

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to