projects
/
uwc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8fa1a
)
uwc.sh regexp fix
author
Neszt Tibor
<neszt@tvnetwork.hu>
Tue, 30 Sep 2014 13:02:59 +0000
(15:02 +0200)
committer
Neszt Tibor
<neszt@tvnetwork.hu>
Tue, 30 Sep 2014 13:02:59 +0000
(15:02 +0200)
uwc.sh
patch
|
blob
|
history
diff --git
a/uwc.sh
b/uwc.sh
index
ef4dfb8
..
6e20945
100755
(executable)
--- 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}'