summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2023-07-11 06:09:33 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2023-07-11 06:09:33 +0000
commit1e529ccf349d7fce1088f9375321b34b5eeda67c (patch)
tree7a05d14244840977e498889ea959f46615a632e3 /regress
parentf30d2599e1ea11fb2f0ac705c3b576eab7d009f4 (diff)
Trim leading whitespace from find(1) output, missed in previous.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/rsync/lib.sh2
1 files changed, 1 insertions, 1 deletions
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
)