Skip to content

Instantly share code, notes, and snippets.

@dcode
Created October 29, 2014 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcode/afb3f21c0dd5801ad540 to your computer and use it in GitHub Desktop.
Save dcode/afb3f21c0dd5801ad540 to your computer and use it in GitHub Desktop.
bro log to pipe separated values (PSV) w/ camelcase headers
bro-cut -uc -F'|' | grep -E '^#fields|^2014' | sed 's/^#fields|//' | sed -e '1s/\./_/g' -e '1s/_\([a-z]\)/\u\1/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment