[Top][All Lists]

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

error in documentation ?

From: Alain Baeckeroot
Subject: error in documentation ?
Date: Sat, 21 Mar 2009 18:15:57 +0100
User-agent: KMail/1.9.9

Dear all

I think there is an arror in documentation, wrt 'system' function :
 GNU Octave, version 3.0.1
 Octave was configured for "i486-pc-linux-gnu".    says :
[output, status] = system ("echo foo; exit 2");

But it seems the order is the opposite:
octave:20> [output, status] = system ("echo foo; exit 2")
output =  2
status = foo

This is annoying as one cannot get directly the ouput.


reply via email to

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