Project

General

Profile

« Previous | Next » 

Revision 7861

import_times: Fixed bug where sed would wait for user input from stdin when there were no matching logs

View differences:

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