Description: fix bashisms in 'bookman' script.
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473696
Author: Chris Lamb <chris@chris-lamb.co.uk>
Last-Update: 2008-04-12
Index: txt2man-1.5.6/bookman
===================================================================
--- txt2man-1.5.6.orig/bookman
+++ txt2man-1.5.6/bookman
@@ -83,16 +83,16 @@ done
 shift $(($OPTIND - 1))
 date=${date:-$(date +'%d %B %Y')}
 
-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
+[ $1 ] || set -- $(while read REPLY; do echo $REPLY; done)
 
-[[ $outfile ]] && post="$post >$outfile"
+[ $outfile ] && post="$post >$outfile"
 
 {
 	# Compute table of content from postscript output.
 	# Generate output in gtroff intermediate format, so
 	# it can be merged with content.
 	{
-		[ -f "$cover" ] && cat "$cover" || {
+		[ -f $cover ] && cat $cover || {
 			printf ".af %% i\n.P1\n"
 			printf ".OH ||%s||\n" "$volume"
 			printf ".EH ||%s||\n" "$volume"
