Skip to content

Commit 8da0d38

Browse files
author
dtrg
committed
Applied a patch to support OpenBSD.
1 parent 17b0c36 commit 8da0d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ trap "rm -f $GZFILE $CFILE" EXIT
2929
extract_section() {
3030
sed -e "1,/^XXXXSTART$1/d" "$THISFILE" | (
3131
read size
32-
head -c $size
32+
dd bs=1 count=$size 2> /dev/null
3333
) > $GZFILE
3434
cat $GZFILE | cat
3535
}

0 commit comments

Comments
 (0)