commit 7cf961edb5f38fb3ca3e9dd752cfc381463fb54c
parent 809dd8d7ee8c87668c12a4535ed8f59f892631a6
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 26 Aug 2018 10:27:34 +0200
Shorten point2pdf.
Thanks to Gerrit Meyerheim <gerrit.meyerheim@pernixmail.de>
Diffstat:
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"