annotate cpack/dml/scripts/compression/zxd @ 7:3c7cc53984a6 no-matlab tip

removed rcutils as seem incompatible with this version (no history/2 defined)
author wolffd.mail@googlemail.com
date Wed, 25 Jul 2018 15:51:48 +0000
parents 718306e29690
children
rev   line source
Daniel@0 1 #!/bin/sh
Daniel@0 2 # Binary difference from reference using xdelta3 -D
Daniel@0 3 function encode { xdelta3 encode -9 -n -D "$@"; }
Daniel@0 4 function decode { xdelta3 decode -R "$@"; }
Daniel@0 5 cmd=$1
Daniel@0 6 dict="$2"
Daniel@0 7 shift 2
Daniel@0 8 $cmd -s "$dict" "$@"