help-octave
[Top][All Lists]
Advanced

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

Re: Send standard error to the pager


From: markbn
Subject: Re: Send standard error to the pager
Date: Mon, 18 Jul 2011 12:12:33 -0700 (PDT)

Am Montag, 18. Juli 2011, 17:17:53 schrieb Andy Buckle:
> > return parameter but I don't know how. I tried appending "2>1" to the
redirection of stderr to stdout via cli is done with  2>&1 not 2>1, did you 
try that?

Of course I did NOT :(
I missed that part, but now it works. Thanks for the correction!



> 
> octave:6> [status, text] = unix('somecmd Hi 2>&1')
> status =  127
> text = sh: somecmd: not found
> 

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Send-standard-error-to-the-pager-tp3675484p3676167.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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