Applied a patch to support OpenBSD.
This commit is contained in:
parent
17b0c36f69
commit
8da0d38b6d
2
pm
2
pm
|
@ -29,7 +29,7 @@ trap "rm -f $GZFILE $CFILE" EXIT
|
||||||
extract_section() {
|
extract_section() {
|
||||||
sed -e "1,/^XXXXSTART$1/d" "$THISFILE" | (
|
sed -e "1,/^XXXXSTART$1/d" "$THISFILE" | (
|
||||||
read size
|
read size
|
||||||
head -c $size
|
dd bs=1 count=$size 2> /dev/null
|
||||||
) > $GZFILE
|
) > $GZFILE
|
||||||
cat $GZFILE | cat
|
cat $GZFILE | cat
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue