1 #!/bin/sh -e 2 3 ${top_builddir-.}/zsyncmake -u foo -f foo ${srcdir-.}/INSTALL 4 5 # Note TAB required for Solaris cksum 6 x=`perl -pe 's/^(zsync:).*$/$1 XXX/; s/^(MTime:)(.*)$/my ($x, $y) = ($1, $2); $y =~ s![a-zA-Z0-9]!_!g; "$x$y"/e;' foo.zsync | tee foo.tr.zsync | cksum | sed -e 's/[ ][0-9].*//'` 7 [ $x = 4103379992 ] 8 rm foo.zsync 9