Thanks Samuel for the clarification. Adding the double quotes worked fine. Will this work with single quotes in v6 as in the original syntax?
On 3 December 2015 at 18:14, Samuel Gougeon <sgoug...@free.fr> wrote: > Le 03/12/2015 17:47, Dang Ngoc Chan, Christophe a écrit : >> >> Hello, >> >>> De : Lester Anderson >>> Envoyé : jeudi 3 décembre 2015 16:56 >>> >>> dos('grdinfo FAA.grd -C | gawk "{nx=$10; ny=$11}; {print nx, ny}" > >>> nxy.txt','-echo') >>> !--error 3 Waiting for right >>> parenthesis. >> >> In some cases, you need to use two quotes to tell that you want the >> character quote and that it is not the end of the string. >> >> Don't know if it applies here, but maybe you could try. > > Yes indeed, it is clearly a problem here. In Scilab 5, a string started with > " can be terminated with ' , and vice-versa. This tolerance is no longer > accepted with Scilab 6. > So here, > > dos('grdinfo FAA.grd -C | gawk ""{nx=$10; ny=$11}; {print nx, ny}"" > > nxy.txt','-echo') > must be used. > > Samuel Gougeon > > > _______________________________________________ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users