From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 26 06:39:08 2000 Subject: More a feature request than a bug report? From: "John W. Eaton" To: Francesco Potorti` Cc: Octave bugs list Date: Wed, 26 Jan 2000 06:39:14 -0600 (CST) On 12-May-1999, Francesco Potorti` wrote: | If I understand the manual, octave supports most of scanf(3) input formats, | but skips %[. That format is *very* useful, and, as far as I know, is | the only way of making scanf read up to end of line: | | scanf (inf, " %d%[^\n]\n", &i) | | reads the first integer on a line and discrds the rest of the line. | | It would be nice if %[ was there. I've just written some code to handle this type of conversion. It should appear in the CVS archive for the development version of Octave within the next day or so. Thanks, jwe ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------