Revision 7862
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 |
test "$#" -gt 0 || exit 0
|
|
12 | 12 |
sed -n 's/^Took (.*) sec\/([^ ]*) row\(s\).*$/\2'$'\t''\1/p' "$@" |
13 | 13 |
} |
14 | 14 |
|
Also available in: Unified diff
import_times: When there are no matching logs, exit with status 0 instead of 1 because this is a normal condition