mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 05:42:12 +01:00
15 lines
380 B
Diff
15 lines
380 B
Diff
--- ./bookman.orig
|
|
+++ ./bookman
|
|
@@ -83,9 +83,9 @@
|
|
shift $(($OPTIND - 1))
|
|
date=${date:-$(date +'%d %B %Y')}
|
|
|
|
-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
|
|
+[ -n "$1" ] || set -- $(while read REPLY; do echo $REPLY; done)
|
|
|
|
-[[ $outfile ]] && post="$post >$outfile"
|
|
+[ -n "$outfile" ] && post="$post >$outfile"
|
|
|
|
{
|
|
# Compute table of content from postscript output.
|