Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 4
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Dec
8
awarded  Notable Question
Sep
17
awarded  Popular Question
Oct
6
awarded  Supporter
Oct
2
awarded  Student
Oct
2
comment Ignore escape characters when printing string in shell script
Good point, and because of this construction it looks clearer, using the newlines and indentation.
Oct
2
awarded  Scholar
Oct
2
accepted Ignore escape characters when printing string in shell script
Oct
2
comment Ignore escape characters when printing string in shell script
Ah of course, the single (hard) quotes! Thank you. I didn't know about the cat -construction, why is it safer than the echo command?
Oct
2
comment Ignore escape characters when printing string in shell script
I realised I didn't translate the Dutch phrases. When calling the script you have to give two arguments: the LaTeX expression itself and the filename, without extension. For instance: sh .LaTeX2PNG.sh "B_n(f;x) = \sum_{r=0}^n f \left( \frac{r}{n} \right) {n \choose r} x^r (1-x)^{n-r}" Bernstein
Oct
2
asked Ignore escape characters when printing string in shell script