File: 04_tex2ps_bashism.diff

package info (click to toggle)
mgp 1.13a%2Bupstream20090219-14
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 4,196 kB
  • sloc: ansic: 32,387; sh: 4,286; lisp: 1,405; yacc: 945; lex: 264; makefile: 158; perl: 117; awk: 9
file content (11 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
--- a/contrib/tex2eps.sh
+++ b/contrib/tex2eps.sh
@@ -13,7 +13,7 @@
 # temporary filename (without .eps suffix)
 tmp=$1
 
-echo '\nopagenumbers' > $tmp.tex
+printf '\\nopagenumbers\n' > $tmp.tex
 cat >> $tmp.tex
 echo '\end' >> $tmp.tex
 tex $tmp.tex > /dev/null 2> /dev/null