Revision 7861
Added by Aaron Marcuse-Kubitza almost 12 years ago
bin/import_times | ||
---|---|---|
8 | 8 |
|
9 | 9 |
times () |
10 | 10 |
{ |
11 |
test "$#" -gt 0 || exit |
|
11 | 12 |
sed -n 's/^Took (.*) sec\/([^ ]*) row\(s\).*$/\2'$'\t''\1/p' "$@" |
12 | 13 |
} |
13 | 14 |
|
Also available in: Unified diff
import_times: Fixed bug where sed would wait for user input from stdin when there were no matching logs