|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #47320] new function devnull |
| Date: | Wed, 02 Mar 2016 15:00:56 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0 |
Follow-up Comment #1, bug #47320 (project octave):
It seems like it could be a simple .m file:
function fname = devnull ()
if (ispc ())
fname = "NUL";
else
fname = "/dev/null";
endif
endfunction
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47320>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |