From fa8fa1a5132aa65ac58798348aa42734b2ea8dc3 Mon Sep 17 00:00:00 2001 From: Neszt Tibor Date: Tue, 30 Sep 2014 14:29:08 +0200 Subject: [PATCH] uwc: sh implementation --- uwc.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 uwc.sh diff --git a/uwc.sh b/uwc.sh new file mode 100755 index 0000000..ef4dfb8 --- /dev/null +++ b/uwc.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cat | tr " " "\n" | grep -i "[a-z']\+" | sort | uniq -c | sort -n | awk '{print $2" "$1}' -- 2.1.4