Shorten point2pdf. - pointtools - Simple point utilities to hold text presentat… | |
git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 7cf961edb5f38fb3ca3e9dd752cfc381463fb54c | |
parent 809dd8d7ee8c87668c12a4535ed8f59f892631a6 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 26 Aug 2018 10:27:34 +0200 | |
Shorten point2pdf. | |
Thanks to Gerrit Meyerheim <[email protected]> | |
Diffstat: | |
M bin/point2pdf | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/bin/point2pdf b/bin/point2pdf | |
@@ -6,6 +6,5 @@ | |
name="slides" | |
[ $# -gt 0 ] && name="$1" | |
-enscript *.txt -Brf "Courier16" -p - > "${name}.ps" | |
-ps2pdf "${name}.ps" | |
+enscript *.txt -Brf "Courier16" -p - | ps2pdf - "${name}.pdf" | |