From: hackbard Date: Mon, 24 May 2004 13:55:05 +0000 (+0000) Subject: added file to parse random debug outputs X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82bebb724c50bdb9f7fc9f2fe3fc4dbb0535a20d;p=physik%2Fnlsop.git added file to parse random debug outputs --- diff --git a/random_parse.sh b/random_parse.sh new file mode 100755 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