|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T m
Length: 1087 (0x43f) Types: TextFile Names: »makedir.SH«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/euug-87hel/sec1/rn/makedir.SH« └─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦97f3ac3f8⟧ »EurOpenD3/news/rn.tar.Z« └─⟦df9cf1b54⟧ └─⟦this⟧ »makedir.SH«
case $CONFIG in '') . config.sh ;; esac echo "Extracting makedir (with variable substitutions)" $spitshell >makedir <<!GROK!THIS! $startsh # $Header: makedir.SH,v 4.3 85/05/01 11:42:31 lwall Exp $ # # $Log: makedir.SH,v $ # Revision 4.3 85/05/01 11:42:31 lwall # Baseline for release with 4.3bsd. # export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh \$0; kill \$\$) case \$# in 0) $echo "makedir pathname filenameflag" exit 1 ;; esac : guarantee one slash before 1st component case \$1 in /*) ;; *) set ./\$1 \$2 ;; esac : strip last component if it is to be a filename case X\$2 in X1) set \`$echo \$1 | $sed 's:\(.*\)/[^/]*\$:\1:'\` ;; *) set \$1 ;; esac : return reasonable status if nothing to be created if $test -d "\$1" ; then exit 0 fi list='' while true ; do case \$1 in */*) list="\$1 \$list" set \`echo \$1 | $sed 's:\(.*\)/:\1 :'\` ;; *) break ;; esac done set \$list for dir do $mkdir \$dir >/dev/null 2>&1 done !GROK!THIS! $eunicefix makedir chmod 755 makedir