$NetBSD: patch-bookman,v 1.1 2022/04/25 21:56:59 tnn Exp $

shell portability

--- bookman.orig	2011-02-18 18:12:35.000000000 +0000
+++ bookman
@@ -83,9 +83,9 @@ done
 shift $(($OPTIND - 1))
 date=${date:-$(date +'%d %B %Y')}
 
-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
+[ $1 ] || set -- $(while read; do echo $REPLY; done)
 
-[[ $outfile ]] && post="$post >$outfile"
+[ $outfile ] && post="$post >$outfile"
 
 {
 	# Compute table of content from postscript output.
