Simplified the regular expressions for sed due to problems on some
authorWayne Davison <wayned@samba.org>
Fri, 10 Jun 2005 21:56:52 +0000 (21:56 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 10 Jun 2005 21:56:52 +0000 (21:56 +0000)
OSes.

testsuite/itemize.test

index 5aa5e21..0b42abc 100644 (file)
@@ -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"