summaryrefslogtreecommitdiff
path: root/printpath
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2026-01-21 23:42:15 +0100
committerfilip <“filip.rabiega@gmail.com”>2026-01-21 23:42:15 +0100
commit17df35dc088c9b1b159c2b78d8330fa9cc9a672a (patch)
tree052205953f7f11a9ea847a9b4d238f6acdbc25b8 /printpath
parentd127601c83c1a30063b76eb89bf0d9a32ed435b9 (diff)
downloadchadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.tar.gz
chadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.tar.bz2
chadscripts-17df35dc088c9b1b159c2b78d8330fa9cc9a672a.zip
reformat most scripts
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