aboutsummaryrefslogtreecommitdiff
path: root/sb-script
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2010-06-12 02:06:11 -0400
committermutantturkey <crazycal00@gmail.com>2010-06-12 02:06:11 -0400
commitc614b3727595d4cb45d52f254c436b7ae39f5e99 (patch)
tree391775b63c9c0af983ac4c4fdab3789354b305fa /sb-script
parent6da33b7e273e4656f4b55dbadcafd15244f9f9ee (diff)
added a script to automagically sort/remove duplicates, i had it for a while, now its for everyone. updated makefile to install the binary as sb-binary, and the script as sb
Diffstat (limited to 'sb-script')
-rwxr-xr-xsb-script10
1 files changed, 10 insertions, 0 deletions
diff --git a/sb-script b/sb-script
new file mode 100755
index 0000000..8390c14
--- /dev/null
+++ b/sb-script
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+
+#remove duplicates
+awk '!x[$0]++' ~/.history | sponge ~/.history
+
+
+#execute
+/usr/bin/sb-binary
+