projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbcd0f7
)
a script probably only useful to ds
author
David Schleef
<ds@schleef.org>
Tue, 13 Mar 2001 09:35:07 +0000
(09:35 +0000)
committer
David Schleef
<ds@schleef.org>
Tue, 13 Mar 2001 09:35:07 +0000
(09:35 +0000)
comedi_calibrate/split_dumps
[new file with mode: 0755]
patch
|
blob
diff --git a/comedi_calibrate/split_dumps
b/comedi_calibrate/split_dumps
new file mode 100755
(executable)
index 0000000..
e703284
--- /dev/null
+++ b/
comedi_calibrate/split_dumps
@@ -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
+