File: has-writer

package info (click to toggle)
bro 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 78,640 kB
  • sloc: ansic: 126,302; cpp: 95,205; yacc: 2,528; lex: 1,819; sh: 793; python: 700; makefile: 134
file content (6 lines) | stat: -rwxr-xr-x 193 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#! /usr/bin/env bash
#
# Returns true if Bro has been compiled with support for writer type
# $1. The type name must match the plugin name that "bro -N" prints.

bro -N | grep -q $1 >/dev/null