From 807de46d3a3cbef9a3c3c104f6db87b142e6eed5 Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Fri, 10 Oct 2025 19:10:02 +0200 Subject: used shfmt --- printpath | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'printpath') diff --git a/printpath b/printpath index 55a3212..3c59e8f 100755 --- a/printpath +++ b/printpath @@ -3,8 +3,8 @@ # This script is slow, but it works IFS=: for dir in $PATH; do - [ -d "$dir" ] || continue - for file in "$dir"/* "$dir"/.*; do - [ -f "$file" ] && [ -x "$file" ] && basename "$file" - done + [ -d "$dir" ] || continue + for file in "$dir"/* "$dir"/.*; do + [ -f "$file" ] && [ -x "$file" ] && basename "$file" + done done | sort -u -- cgit v1.2.3