--- bookman.orig 2011-05-09 08:53:22.000000000 -0500 +++ bookman 2011-05-09 08:54:02.000000000 -0500 @@ -83,9 +83,9 @@ 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.