view cpack/dml/scripts/compression/encode @ 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
line wrap: on
line source
#!/bin/sh
if [ $# -lt 2 ]; then
	echo 'Usage: encode <method> <reference> ...'
	echo
	echo 'Do differential compression using the script <method>.'
	echo 'The reference/source/dictionary may be a file or a process redirection.'
	exit 1
fi
set -o nounset
here="$(dirname "$0")"
diff="$1"
ref="$2"
shift 2
"$here/bufs" 2 "$here/$diff" encode "$ref" "$@"