Re: [Orgmode] Re: [babel] Sh problem when echo'ing input data with ' inside

2011-01-18 Thread Eric Schulte
> > I asked the question on the Cygwin mailing list, and got an answer from Tobias > Schlottke, telling me to use the 'plain old' syntax (=`...`= instead of > =$(...)=): > > #+begin_src sh > data=`cat < ... > EOF > ` > echo "$data" > #+end_src > > and... it indeed works! > > Can we move to that syn

Re: [Orgmode] Re: [babel] Sh problem when echo'ing input data with ' inside

2011-01-17 Thread Eric Schulte
Achim Gratz writes: > Sébastien Vauban > writes: >> However, I can't do any work on the input file, the very basic echo command >> already giving an error: > > This is because quoting the arguments to echo does not work when your > input contains unescaped quote characters. I've no idea how exa

Re: [Orgmode] Re: [babel] Sh problem when echo'ing input data with ' inside

2011-01-17 Thread Eric Schulte
>> >> and the sh code block expands to the following (with C-c C-v v) which is >> not affected by commas... > > I've no trouble with commas, except that it's not an American formatting for > amounts. Though, I does well have problems, as showed, with the apostrophe... > Sorry, I mis-typed, as far