From 8da0d38b6dc511429e27a3acec39ab3121fe0c85 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sun, 25 Feb 2007 22:07:11 +0000 Subject: [PATCH] Applied a patch to support OpenBSD. --- pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm b/pm index 58c9ac309..23560e2c6 100755 --- a/pm +++ b/pm @@ -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 }