added file to parse random debug outputs
authorhackbard <hackbard>
Mon, 24 May 2004 13:55:05 +0000 (13:55 +0000)
committerhackbard <hackbard>
Mon, 24 May 2004 13:55:05 +0000 (13:55 +0000)
random_parse.sh [new file with mode: 0755]

diff --git a/random_parse.sh b/random_parse.sh
new file mode 100755 (executable)
index 0000000..729a294
--- /dev/null
@@ -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