view 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
line wrap: on
line source
#!/bin/sh
# Binary difference from reference using xdelta3 -D
function encode { xdelta3 encode -9 -n -D "$@"; }
function decode { xdelta3 decode -R "$@"; }
cmd=$1
dict="$2"
shift 2
$cmd -s "$dict" "$@"