octave-maintainers
[Top][All Lists]
Advanced

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

Re: Behavior of 'mkdir'


From: WMennerich
Subject: Re: Behavior of 'mkdir'
Date: Wed, 23 Jul 2008 02:23:35 -0700 (PDT)

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.



reply via email to

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