xref: /aoo41x/main/solenv/bin/newfolderforce (revision 5b501c92)
1#rg 16.6.981# *************************************************************1#1#  Licensed to the Apache Software Foundation (ASF) under one1#  or more contributor license agreements.  See the NOTICE file1#  distributed with this work for additional information1#  regarding copyright ownership.  The ASF licenses this file1#  to you under the Apache License, Version 2.0 (the1#  "License"); you may not use this file except in compliance1#  with the License.  You may obtain a copy of the License at1#1#    http://www.apache.org/licenses/LICENSE-2.01#1#  Unless required by applicable law or agreed to in writing,1#  software distributed under the License is distributed on an1#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY1#  KIND, either express or implied.  See the License for the1#  specific language governing permissions and limitations1#  under the License.1#1# *************************************************************11if {#} != 11	echo emuliert "mkdir -p"1	echo d.h. des gesamte Directory-Baum wird angelegt1	exit1end11set wo "{1}"1set regex ""11set exit 01for i in  in 1 2 3 4 5 6 7 8 9 101set regex "{regex}[�:]+:"1(evaluate "{wo}" =~ /([:]+{regex})�1�/) > Dev:null1if not `exists -d "{�1}"`1newfolder "{�1}"1end1end1set exit 11