comparison cpack/dml/scripts/compression/decode @ 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 if [ $# -lt 2 ]; then
3 echo 'Usage: decode <method> <reference> ...'
4 echo
5 echo 'Do differential decompression using the script <method>.'
6 echo 'The reference/source/dictionary may be a file or a process redirection.'
7 exit 1
8 fi
9 set -o nounset
10 here="$(dirname "$0")"
11 diff="$1"
12 ref="$2"
13 shift 2
14 "$here/bufs" 2 "$here/$diff" decode "$ref" "$@"