comparison cpack/dml/scripts/compression/zxd @ 0:718306e29690 tip

commiting public release
author Daniel Wolff
date Tue, 09 Feb 2016 21:05:06 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:718306e29690
1 #!/bin/sh
2 # Binary difference from reference using xdelta3 -D
3 function encode { xdelta3 encode -9 -n -D "$@"; }
4 function decode { xdelta3 decode -R "$@"; }
5 cmd=$1
6 dict="$2"
7 shift 2
8 $cmd -s "$dict" "$@"