diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-01-21 23:42:15 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-01-21 23:42:15 +0100 |
| commit | 17df35dc088c9b1b159c2b78d8330fa9cc9a672a (patch) | |
| tree | 052205953f7f11a9ea847a9b4d238f6acdbc25b8 /printpath | |
| parent | d127601c83c1a30063b76eb89bf0d9a32ed435b9 (diff) | |
| download | chadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.tar.gz chadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.tar.bz2 chadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.zip | |
reformat most scripts
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 |
