Why not use mkdir directly?
Or even -d (and -l) if you really need to check for existence yourself, instead of simply trying to create the directory and judging success by its results.
In reply to Re: Handling returns from mkdir.
by Corion
in thread Handling returns from mkdir.
by dannyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |