Mark Boyd wrote:
>
> I need to build one or more directories on the fly; is there a way to tell
> mpe to build a posix directory if it doesn't exist?
In a shell script, you would probably do it like this:
if [ ! -d /some/dir/path ]; then
mkdir /some/dir/path
fi
Or more concise but harder to read by the untrained eye:
[ ! -d foo ] && mkdir /some/dir/path
The expression inside the square brackets is a "test" expression. See "man
test" for details.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *