summaryrefslogtreecommitdiff
path: root/printpath
diff options
context:
space:
mode:
Diffstat (limited to 'printpath')
-rwxr-xr-xprintpath1
1 files changed, 1 insertions, 0 deletions
diff --git a/printpath b/printpath
index 1a1a605..396fd86 100755
--- a/printpath
+++ b/printpath
@@ -1,4 +1,5 @@
#!/bin/sh
+# Print everythin in PATH
echo "$PATH" | tr ':' '\n' | while IFS= read -r dir; do
[ -d "$dir" ] || continue