aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-05-07 04:02:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-05-07 04:02:24 +0300
commit98fb303298a405e77c220de37c1d3622dbeb9b2f (patch)
tree93fb88abc9d9e9b051f8f81551cc472e49e85560 /doc
parente74af960b4e0e79235a0625010eca9134fc1f8e4 (diff)
Fix doc/cli.sh
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/cli.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index be5dcbe..dd44316 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -31,8 +31,7 @@ function xhtml_to_ps () # <from> <to> [<html2ps-options>]
local to="$1"
shift
- cat "$from" | \
- sed -e 's/├/|/g' -e 's/│/|/g' -e 's/─/-/g' -e 's/└/`/g' | \
+ sed -e 's/├/|/g' -e 's/│/|/g' -e 's/─/-/g' -e 's/└/`/g' "$from" | \
html2ps "${@}" -o "$to"
}