comedilib/comedi_calibrate/split_dumps
2001-03-13 09:35:07 +00:00

11 lines
160 B
Bash
Executable file

#!/bin/bash
file=$1
all=$(grep '^start dump' $file|sed 's/start dump //');
for each in $all
do
grep "^D$each:" $file|sed "s/^D$each: //" >$file.$each
done