diff options
Diffstat (limited to 'nocompile/bin/what')
-rwxr-xr-x | nocompile/bin/what | 9 |
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 _ |