uwc: sh implementation
authorNeszt Tibor <neszt@tvnetwork.hu>
Tue, 30 Sep 2014 12:29:08 +0000 (14:29 +0200)
committerNeszt Tibor <neszt@tvnetwork.hu>
Tue, 30 Sep 2014 12:29:08 +0000 (14:29 +0200)
uwc.sh [new file with mode: 0755]

diff --git a/uwc.sh b/uwc.sh
new file mode 100755 (executable)
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}'