From 33b9d26329424b5182c0dbf8d6f0c9da5b648e90 Mon Sep 17 00:00:00 2001 From: Neszt Tibor Date: Tue, 30 Sep 2014 15:02:59 +0200 Subject: [PATCH] uwc.sh regexp fix --- uwc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' -- 2.1.4