Mercurial > emacs
view lispref/mkinstalldirs @ 73874:3d54d97a0181
(ARCHIVE tag): Document C-TAB for forcing cycling of
archived trees.
(Checkboxes): Section moved to chapter 5, and extended.
(The date/time prompt): New section.
(Link abbreviations): New section.
(Presentation and sorting): New section.
(Custom agenda views): Section completely rewritten.
(Summary): Compare with Planner.
(Feedback): More info about creating backtraces.
(Plain lists): Modified example.
(Breaking down tasks): New section.
(Custom time format): New section.
(Time stamps): Document inactive timestamps.
(Setting tags): More details about fast tag selection.
(Block agenda): New section.
(Custom agenda views): Section rewritten.
(Block agenda): New section.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Fri, 10 Nov 2006 08:53:49 +0000 |
parents | 746c40973d25 |
children | eb7e8d483840 |
line wrap: on
line source
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" 1>&2 mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here