Problem with single quotes
Francesco Potorti`
Potorti at isti.cnr.it
Thu Oct 2 11:59:53 CDT 2008
>> | > fprintf ('''')
>> |
>> | I did not know that. That statement prints a double quote in Octave.
>>
>> No, it should print a single ' character, same as Matlab.
>
>I can only report what I see. I've tried it on Octave 3.0.2 (OS X) and
>Octave 3.0.0 (Ubuntu Hardy). Both give me a double quote.
That's very strange. Here is what I get on Octave 3.0.1 on Debian:
octave> fprintf ('''')
'octave> fprintf('''')
'octave>
octave>
Would you copy and paste what you obtain?
More information about the Help-octave
mailing list