[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Warnings suppression in save commands
From: |
Bill Denney |
Subject: |
RE: Warnings suppression in save commands |
Date: |
Fri, 23 Sep 2005 06:44:10 -0400 (EDT) |
OK, in that case, another solutino may be to do:
octave | grep -vi warning
That will take your output and take any line with the word warning (the i
means case insensitively) in out out.
Bill
On Fri, 23 Sep 2005, address@hidden wrote:
Hi Bill.
This solution is not acceptable in my case.
In my octave script there are some printf commands on standard output
that I really need (for debug).
The "save warning" is output to standard output as well...
But let me know: what's that "better way to do it"?
-Lorenzo
-----Original Message-----
From: Bill Denney [mailto:address@hidden On Behalf Of Bill
Denney
Sent: Friday, September 23, 2005 4:15 AM
To: Bertolissi Lorenzo (IFAT DCV ATE DSUP External)
Cc: address@hidden
Subject: Re: Warnings suppression in save commands
I'm not positive if this would work, but you could just redirect the
output couldn't you? If this is an acceptable solution for you, you can
do it like:
octave > /dev/null 2> /dev/null
There is a better way to do it, but that should work.
Bill
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
--
"Patriotism is supporting your country all the time and the government
when it deserves it."
-- Mark Twain
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Warnings suppression in save commands, Bertolissi.External, 2005/09/22
- RE: Warnings suppression in save commands, Bertolissi.External, 2005/09/23
- RE: Warnings suppression in save commands,
Bill Denney <=
- RE: Warnings suppression in save commands, Bertolissi.External, 2005/09/23
- RE: Warnings suppression in save commands, Bertolissi.External, 2005/09/23
- RE: Warnings suppression in save commands, Bertolissi.External, 2005/09/23
- RE: Warnings suppression in save commands, Bertolissi.External, 2005/09/23