[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.
- Behavior of 'mkdir', WMennerich, 2008/07/22
- Behavior of 'mkdir', John W. Eaton, 2008/07/22
- Re: Behavior of 'mkdir',
WMennerich <=
- Re: Behavior of 'mkdir', John W. Eaton, 2008/07/23
- Re: Behavior of 'mkdir', Jaroslav Hajek, 2008/07/23
- Re: Behavior of 'mkdir', John W. Eaton, 2008/07/23
- Re: Behavior of 'mkdir', Jaroslav Hajek, 2008/07/23
- Re: Behavior of 'mkdir', John W. Eaton, 2008/07/23
- Re: Behavior of 'mkdir', WMennerich, 2008/07/24
- Re: Behavior of 'mkdir', John W. Eaton, 2008/07/24
- Re: Behavior of 'mkdir', WMennerich, 2008/07/24
- Re: Behavior of 'mkdir', Shai Ayal, 2008/07/24
- Re: Behavior of 'mkdir', John W. Eaton, 2008/07/24