Behavior of 'mkdir'
WMennerich
W.Mennerich at gmx.net
Wed Jul 23 04:23:35 CDT 2008
It depends on what we want to have:
The octave 'mkdir' is more accurate: If a directory already exists,
it can not be created. Hence, the behavior of octave seems to me more
correct.
If you get a 'true' from 'mkdir' with octave, you know that the directory
exists and it is empy.
If you get a 'true' from 'mkdir' with Matlab, you only know, that the
directory
exists and you must do an extra check whether it is empty or not.
best, Wolfgang
--
View this message in context: http://www.nabble.com/Behavior-of-%27mkdir%27-tp18587943p18606936.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
More information about the Octave-maintainers
mailing list