projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b748c
)
:
author
jihoonl
<jihoonl>
Tue, 7 Jul 2009 23:48:41 +0000
(23:48 +0000)
committer
jihoonl
<jihoonl>
Tue, 7 Jul 2009 23:48:41 +0000
(23:48 +0000)
Robust/src/Benchmarks/SingleTM/Intruder/extractLines
[new file with mode: 0755]
patch
|
blob
diff --git a/Robust/src/Benchmarks/SingleTM/Intruder/extractLines
b/Robust/src/Benchmarks/SingleTM/Intruder/extractLines
new file mode 100755
(executable)
index 0000000..
c75e572
--- /dev/null
+++ b/
Robust/src/Benchmarks/SingleTM/Intruder/extractLines
@@ -0,0
+1,3
@@
+#!/bin/sh
+lines=$(grep -n "#" $1 | cut -d: -f1 | sed '1q')
+sed '/^#/d' $1 > ttt$1