diff options
Diffstat (limited to 'printpath')
| -rwxr-xr-x | printpath | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
