⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkdirs.sh

📁 yacc编译器
💻 SH
字号:
#! /bin/sh# $Id: mkdirs.sh,v 1.3 2007/03/25 22:29:46 tom Exp $# -----------------------------------------------------------------------------# mkinstalldirs --- make directory hierarchy# Author: Noah Friedman <friedman@prep.ai.mit.edu># Created: 1993-05-16# Last modified: 1994-03-25# Public domain# -----------------------------------------------------------------------------errstatus=0umask 022for file in ${1+"$@"} ; do   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`   shift   pathcomp=   for d in ${1+"$@"} ; do     pathcomp="$pathcomp$d"     case "$pathcomp" in       -* ) pathcomp=./$pathcomp ;;     esac     if test ! -d "$pathcomp"; then        echo "mkdir $pathcomp" 1>&2        case "$pathcomp" in          [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]: )            ;;               # DOSISH systems          * )            mkdir "$pathcomp"            errstatus=$?            if test $errstatus != 0            then               # may have failed if invoked in a parallel "make -j# install"               if test -d "$pathcomp"               then                  errstatus=0               fi            fi            ;;        esac     fi     pathcomp="$pathcomp/"   donedoneexit $errstatus# mkinstalldirs ends here

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -