annotate cpack/dml/scripts/compression/zvcz @ 0:718306e29690 tip

commiting public release
author Daniel Wolff
date Tue, 09 Feb 2016 21:05:06 +0100
parents
children
rev   line source
Daniel@0 1 #!/bin/sh
Daniel@0 2 # vcz <reference:filename> ...
Daniel@0 3 # Binary difference from reference using vczip plus any extra arguments
Daniel@0 4 function encode { vczip "$@"; }
Daniel@0 5 function decode { vczip -u "$@"; }
Daniel@0 6 cmd="$1"
Daniel@0 7 dict="$2"
Daniel@0 8 shift 2
Daniel@0 9 $cmd -D"$dict" "$@"