summaryrefslogtreecommitdiff
path: root/printpath
diff options
context:
space:
mode:
Diffstat (limited to 'printpath')
-rwxr-xr-xprintpath4
1 files changed, 2 insertions, 2 deletions
diff --git a/printpath b/printpath
index 396fd86..a76f8f9 100755
--- a/printpath
+++ b/printpath
@@ -2,6 +2,6 @@
# Print everythin in PATH
echo "$PATH" | tr ':' '\n' | while IFS= read -r dir; do
- [ -d "$dir" ] || continue
- find "$dir" -maxdepth 1 -type f -perm -111 -printf '%f\n'
+ [ -d "$dir" ] || continue
+ find "$dir" -maxdepth 1 -type f -perm -111 -printf '%f\n'
done | sort -u