Commit 6a12f0d6 authored by Wayne Davison's avatar Wayne Davison

Simplified the regular expressions for sed due to problems on some

OSes.
parent 4f3be36e
......@@ -18,8 +18,11 @@ chkfile="$scratchdir/rsync.chk"
outfile="$scratchdir/rsync.out"
filter_outfile() {
sed -e '/^building file list \|^created directory \|^done$/d' \
-e '/ --whole-file\|total: /d' \
sed -e '/^building file list /d' \
-e '/^created directory /d' \
-e '/^done$/d' \
-e '/ --whole-file$/d' \
-e '/^total: /d' \
-e '/^$/,$d' \
<"$outfile" >"$outfile.new"
mv "$outfile.new" "$outfile"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment