From: anton Date: Tue, 11 Jul 2023 06:09:32 +0000 (+0000) Subject: Trim leading whitespace from find(1) output, missed in previous. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b6cae74b6564e00a5f5ef5de5a508134286f3e41;p=openbsd Trim leading whitespace from find(1) output, missed in previous. --- diff --git a/regress/usr.bin/rsync/lib.sh b/regress/usr.bin/rsync/lib.sh index 6d7b51b88eb..3ed63c8a8e1 100644 --- a/regress/usr.bin/rsync/lib.sh +++ b/regress/usr.bin/rsync/lib.sh @@ -70,7 +70,7 @@ findme () # 2: size in blocks # 8-10: last modification time find "$@" -ls | - sed -e 's/[[:space:]][[:space:]]*/ /g' | + sed -e 's/^[[:space:]]*//' -e 's/[[:space:]][[:space:]]*/ /g' | cut -d ' ' -f 3-7,11- | sort )