[Bro-Dev] #669: Bro-cut fails when no gawk is present

Bro Tracker bro at tracker.bro-ids.org
Wed Nov 9 07:13:03 PST 2011


#669: Bro-cut fails when no gawk is present
------------------------------+----------------------
  Reporter:  david.bianco     |      Owner:
      Type:  Feature Request  |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  Bro              |    Version:  2.0 Beta
Resolution:                   |   Keywords:
------------------------------+----------------------

Comment (by robin):

 >  I know bro-cut depends on gawk, but if gawk is not present on the
 system,
 >  it is not obvious from the bro-cut errors.  Please have bro-cut check
 for
 >  the presence of gawk and emit an easy-to-understand message that gawk
 is
 >  required.

 Actually it shouldn't depend on gawk. It needs gawk just for doing
 the time conversion, but can fall back to standard awk if that's not
 needed. If -d is used but no gawk found, there should be a reasonable
 error message.

 So this sounds like a bug. Can you add the error message you're seeing
 to the ticket, and also the output of "bash -x bro-cut <your
 arguments>"?

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/669#comment:0>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list