commit | 76ed68d18c1d4acd093448cc2476d7917563388b | [log] [tgz] |
---|---|---|
author | Robert R Evans <robert@codewranglers.org> | 周六 10月 02 12:29:17 2010 -0700 |
committer | Robert R Evans <robert@codewranglers.org> | 周六 10月 02 12:29:17 2010 -0700 |
tree | 267bd06cb71156689c8b25cee57b2f1b8d5b3474 | |
parent | 74fe8378bd8f142799d22643c678c2a82f760490 [diff] [blame] |
Cleaned bash it up
diff --git a/functions/base.bash b/functions/base.bash index c7dc909..bbb6f2f 100644 --- a/functions/base.bash +++ b/functions/base.bash
@@ -1,3 +1,5 @@ +#!/bin/bash + function rh { history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head }