[Omake] mkdir -p

Aleksey Nogin anogin at hrl.com
Fri Jun 8 09:43:04 PDT 2007


On 08.06.2007 00:55, Jesper Eskilson wrote:

> How do I use the -p flag to the mkdir() function? None of the
> documented function signatures has an "option" argument.
> 
Jesper,

All the "shell-like" functions take their arguments packed into a single 
space-separated sequence (or array). So, you need to use something like

mkdir(-p foo/bar foo/baz)

or, as David said, use the shell syntax.

Aleksey

-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list