help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scanf wierdness


From: John W. Eaton
Subject: scanf wierdness
Date: Fri, 10 Sep 1999 00:12:59 -0500 (CDT)

On  9-Sep-1999, Alex Stark <address@hidden> wrote:

| Help!
| 
| I just don't understand this:
| 
| octave:79> sscanf('L02282     GGGAACTAGA ACGATTCGCA GTTAATCCTG
| CCCTGTTAGA AACATCAGAA','%1s',1)
| ans = L
| 
| octave:80> sscanf('L02282     GGGAACTAGA ACGATTCGCA GTTAATCCTG
| CCCTGTTAGA AACATCAGAA','%2s',1)
| ans = L
|
| ...

This looks like a bug to me.  Since the fix involves a relatively
large patch, I won't post it here.  But I did just post a copy of it
to the bug-octave mailing list, which you can access via the Octave
web site at http://www.che.wisc.edu/octave/archive.html.

Thanks,

jwe



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]