118 reputation
14
bio website
location
age
visits member for 3 years, 2 months
seen Dec 23 at 19:50

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