Applied a patch to support OpenBSD.

This commit is contained in:
dtrg 2007-02-25 22:07:11 +00:00
parent 17b0c36f69
commit 8da0d38b6d

2
pm
View file

@ -29,7 +29,7 @@ trap "rm -f $GZFILE $CFILE" EXIT
extract_section() {
sed -e "1,/^XXXXSTART$1/d" "$THISFILE" | (
read size
head -c $size
dd bs=1 count=$size 2> /dev/null
) > $GZFILE
cat $GZFILE | cat
}