Kaynağa Gözat

move "count" out of .bashrc

George Jones 1 yıl önce
ebeveyn
işleme
30f19bfdd8
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      rc.local/count.sh

+ 5 - 0
rc.local/count.sh

@@ -0,0 +1,5 @@
+function count () (
+    # count uniq lines on stdin, sort results
+
+    uniq -c | sort -nr
+)