[Top][All Lists]

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

[Octave-bug-tracker] [bug #54898] "diary" function does not save the out

From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #54898] "diary" function does not save the output of "system" function calls
Date: Fri, 26 Oct 2018 07:14:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36


                 Summary: "diary" function does not save the output of
"system" function calls
                 Project: GNU Octave
            Submitted by: siko1056
            Submitted on: Fri 26 Oct 2018 01:14:25 PM CEST
                Category: Interpreter
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



A small observation using "diary" and "system" in the following context:

diary somefile.txt
system ("ls -la")
diary off

The resulting file "somefile.txt" contains:

octave:2> system ("ls -la")
ans = 0
octave:3> diary off

In Matlab R2018b you can see the actual file listing as shown inside Octave.


Reply to this item at:


  Message sent via Savannah

reply via email to

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