1 line
No EOL
324 B
Text
1 line
No EOL
324 B
Text
#rg 16.6.98
|
|
|
|
if {#} != 1
|
|
echo emuliert "mkdir -p"
|
|
echo d.h. des gesamte Directory-Baum wird angelegt
|
|
exit
|
|
end
|
|
|
|
set wo "{1}"
|
|
set regex ""
|
|
|
|
set exit 0
|
|
for i in in 1 2 3 4 5 6 7 8 9 10
|
|
set regex "{regex}[Â:]+:"
|
|
(evaluate "{wo}" =~ /([:]+{regex})¨1Å/) > Dev:null
|
|
if not `exists -d "{¨1}"`
|
|
newfolder "{¨1}"
|
|
end
|
|
end
|
|
set exit 1 |