Created
January 2, 2015 20:39
-
-
Save andlabs/8a7b2d16c67370dee42e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2 january 2015 | |
# usage: ./e4jexamine summary file | awk -f fulllog.awk file | |
# TODO pass options to e4jexamine | |
# TODO check for errors | |
BEGIN { | |
# TODO make sure this is sufficient to alter ARGC/ARGV | |
file = ARGV[1] | |
ARGC = 1 | |
} | |
{ print } | |
/descriptor/ { | |
cmd = sprintf("./e4jexamine descdump.%s %s", $1, file) | |
while (cmd | getline) | |
printf "\t%s\n", $0 | |
close(cmd) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment