octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42345] fprintf('''%''') throws error


From: Muhali
Subject: [Octave-bug-tracker] [bug #42345] fprintf('''%''') throws error
Date: Tue, 13 May 2014 12:34:07 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

URL:
  <http://savannah.gnu.org/bugs/?42345>

                 Summary: fprintf('''%''') throws error
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Tue 13 May 2014 05:34:05 AM PDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Unlike ML, octave apparently does not like


fprintf('''%''')


as a format string, and it returns

error: fprintf: invalid format specified

The same applies for


fprintf("\"%\"")


I am not sure whether the single quote returned by ML is correct here, but at
least it does not throw an error.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42345>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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