a script probably only useful to ds
This commit is contained in:
parent
cbcd0f7103
commit
7e7985ead9
1 changed files with 11 additions and 0 deletions
11
comedi_calibrate/split_dumps
Executable file
11
comedi_calibrate/split_dumps
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
||||
|
Loading…
Add table
Reference in a new issue