newfolderforce (cdf0e10c) newfolderforce (5b501c92)
1#rg 16.6.98
1#rg 16.6.98
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the
9# "License"); you may not use this file except in compliance
10# with the License. You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing,
15# software distributed under the License is distributed on an
16# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17# KIND, either express or implied. See the License for the
18# specific language governing permissions and limitations
19# under the License.
20#
21# *************************************************************
2
3if {#} != 1
4 echo emuliert "mkdir -p"
5 echo d.h. des gesamte Directory-Baum wird angelegt
6 exit
7end
8
9set wo "{1}"
10set regex ""
11
12set exit 0
13for i in in 1 2 3 4 5 6 7 8 9 10
14set regex "{regex}[�:]+:"
15(evaluate "{wo}" =~ /([:]+{regex})�1�/) > Dev:null
16if not `exists -d "{�1}"`
17newfolder "{�1}"
18end
19end
20set exit 1
22
23if {#} != 1
24 echo emuliert "mkdir -p"
25 echo d.h. des gesamte Directory-Baum wird angelegt
26 exit
27end
28
29set wo "{1}"
30set regex ""
31
32set exit 0
33for i in in 1 2 3 4 5 6 7 8 9 10
34set regex "{regex}[�:]+:"
35(evaluate "{wo}" =~ /([:]+{regex})�1�/) > Dev:null
36if not `exists -d "{�1}"`
37newfolder "{�1}"
38end
39end
40set exit 1