Skip to content

Instantly share code, notes, and snippets.

View itsreallynick's full-sized avatar
🏠
Working from home

Nick Carr itsreallynick

🏠
Working from home
View GitHub Profile
@itsreallynick
itsreallynick / colorize.sh
Last active April 1, 2016 22:22 — forked from jeffgeiger/brocolor.sh
Adding color to Bro logs (or other TSV logs)
#!/bin/bash
sed 's/^#[a-z]*s[^a-z]//' | awk 'BEGIN {FS="\t"};{for(i=1;i<=NF;i++) printf("\x1b[%sm %s \x1b[0m",(i%7)+31,$i);print ""}'