[Bro-Dev] #558: /topic/gilbert/ascii-header
Bro Tracker
bro at tracker.bro-ids.org
Thu Aug 18 08:46:30 PDT 2011
#558: /topic/gilbert/ascii-header
----------------------------+----------------------
Reporter: gclark | Owner: robin
Type: Merge Request | Status: assigned
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version:
Resolution: | Keywords: logging
----------------------------+----------------------
Comment (by robin):
On Wed, Aug 17, 2011 at 22:59 -0000, you wrote:
> Are you sure that echo statement is doing what I think you think that
echo
> statement is doing?
Yes, I think it does what I think it does. :-) THis prints the
separator as I would expect it to:
echo -e "#separator ;\n1;2;3;4\n" | awk '/#separator/ {FS=$2; print
$2}'
But it doesn't apply the new FS, at least on my Mac awk.
Anyway, let's just pick something and go ahead. I still prefer the
whitespace here[1] so why don't we always make the first line look
like this
{{{
#seperator \t
}}}
(Indeed with the standard C escaping for non-printable characters).
[1] Because the escaping makes sure there's no whitespace in the
separator itself.
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/558#comment:9>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list