From 82bebb724c50bdb9f7fc9f2fe3fc4dbb0535a20d Mon Sep 17 00:00:00 2001 From: hackbard Date: Mon, 24 May 2004 13:55:05 +0000 Subject: [PATCH] added file to parse random debug outputs --- random_parse.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 random_parse.sh 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 -- 2.39.2