From: Neszt Tibor Date: Tue, 30 Sep 2014 13:02:59 +0000 (+0200) Subject: uwc.sh regexp fix X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=33b9d26329424b5182c0dbf8d6f0c9da5b648e90;p=uwc.git uwc.sh regexp fix --- diff --git a/uwc.sh b/uwc.sh index ef4dfb8..6e20945 100755 --- a/uwc.sh +++ b/uwc.sh @@ -1,3 +1,3 @@ #!/bin/sh -cat | tr " " "\n" | grep -i "[a-z']\+" | sort | uniq -c | sort -n | awk '{print $2" "$1}' +tr " " "\n" | grep -i "^[a-z']\+$" | sort | uniq -c | sort -n | awk '{print $2" "$1}'