Mercurial > emacs
view mkinstalldirs @ 31595:5ad18c4ebe5c
(ansi-colors): Doc change.
(ansi-color-get-face): Simplified regexp.
(ansi-color-faces-vector): Added more faces, doc change.
(ansi-color-names-vector): Doc change.
(ansi-color-regexp): Simplified regexp.
(ansi-color-parameter-regexp): New regexp.
(ansi-color-filter-apply): Doc change.
(ansi-color-filter-region): Doc change.
(ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
deal with zero length parameters.
(ansi-color-apply-on-region): Doc change.
(ansi-color-map): Doc change.
(ansi-color-map-update): Removed debugging message.
(ansi-color-get-face-1): Added condition-case to trap
args-out-of-range errors.
(ansi-color-get-face): Doc change.
(ansi-color-make-face): Removed.
(ansi-color-for-shell-mode): New option.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 14 Sep 2000 12:37:51 +0000 |
parents | 4fe4a165a116 |
children | 774df19dd335 |
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 # $Id: mkinstalldirs,v 1.11 1998/05/19 07:05:25 drepper dead $ 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