spot/bench/gspn-ssp/tools/collate
2008-08-26 14:44:14 +02:00

13 lines
177 B
Bash
Executable file

#!/bin/sh
for f in "$@"; do
sed -n '/^$/n;
/^Command exited with non-zero status/n;
2,$s/[^0-9.]//g;
s/^[.]//;
1x;
2,$H;
$x;
$s/\n/,/g;
$p' "$f"
done