aboutsummaryrefslogtreecommitdiffstats
path: root/which
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xwhich11
1 files changed, 0 insertions, 11 deletions
diff --git a/which b/which
deleted file mode 100755
index 473c891..0000000
--- a/which
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-arg=$1
-for d in `echo $PATH | sed -e 's/:/ /g'`
-do
- if [ -x $d/$arg ]; then
- echo $d/$arg
- exit 0
- fi
-done
-echo "${arg}: Command not found."
-exit 1