projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432c30b
)
added file to parse random debug outputs
author
hackbard
<hackbard>
Mon, 24 May 2004 13:55:05 +0000
(13:55 +0000)
committer
hackbard
<hackbard>
Mon, 24 May 2004 13:55:05 +0000
(13:55 +0000)
random_parse.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/random_parse.sh
b/random_parse.sh
new file mode 100755
(executable)
index 0000000..
729a294
--- /dev/null
+++ b/
random_parse.sh
@@ -0,0
+1,11
@@
+#!/bin/sh
+if [ ! -f $1 ]; then
+echo "$1 not a file"
+else
+count=0
+while [ "$count" -le "99" ]
+do
+echo "$count $(grep -c -w $count $1)"
+let "count+=1"
+done
+fi