Nmap Development mailing list archives

Re: Leading newlines in script output


From: Tom Sellers <nmap () fadedcode net>
Date: Thu, 30 Sep 2010 08:15:41 -0400




On Sep 30, 2010, at 1:04 AM, David Fifield <david () bamsoftware com> wrote:





This trick of starting the output with whitespace to fool the newline
remover is also used in stdnse.format_output. I can't think of a reason
why we want newlines removed. Let's get rid of it?

Sounds good to me!

All done. I also updated " \n" in scripts where I found it.

David Fifield

Excellent, this has bugged me as well, though obviously not enough to do something about it.

Tom
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: