summaryrefslogtreecommitdiff
path: root/nocompile/bin/what
diff options
context:
space:
mode:
authorEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-11-23 14:25:42 -0600
committerEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-11-23 14:25:42 -0600
commit30300843e0c66ca3eefa97f5787f95b07c256d2f (patch)
treeb29343b30092689786ffcac3913b683ff7555dbe /nocompile/bin/what
parenta23b5f921d551863dbcae494e58622164a1d3492 (diff)
downloadmisc-30300843e0c66ca3eefa97f5787f95b07c256d2f.tar.gz
misc-30300843e0c66ca3eefa97f5787f95b07c256d2f.zip
fixed gitignore. >_> added a bunch of new piddly shit.
Diffstat (limited to 'nocompile/bin/what')
-rwxr-xr-xnocompile/bin/what9
1 files changed, 9 insertions, 0 deletions
diff --git a/nocompile/bin/what b/nocompile/bin/what
new file mode 100755
index 0000000..154dcc7
--- /dev/null
+++ b/nocompile/bin/what
@@ -0,0 +1,9 @@
+#!/bin/bash
+cd /usr/local/share/answers/what
+cd $1
+while shift 2>/dev/null;do
+ if [ "$1" ];then
+ echo $1 | sed "s/[^a-zA-Z0-9]//g" | xargs echo
+ fi
+done
+cat _