Skip to content

Instantly share code, notes, and snippets.

@navasvarela
Created August 30, 2012 15:47
Show Gist options
  • Save navasvarela/3531366 to your computer and use it in GitHub Desktop.
Save navasvarela/3531366 to your computer and use it in GitHub Desktop.
grep generated 802-1x.log |awk '{print $11}'|while read line; do echo -n "$line, " ;o=`grep $line 802-1x.log|grep "END OUTBOUND"|awk '{print $11}'`;echo -n "$o, ";i=`grep $line 802-1x.log|grep "END INBOUND"|awk '{print $11}'`;echo $i;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment