Mercurial > emacs
view mkinstalldirs @ 60521:f38eb69aa763
(sgml-tag, html-tag-alist)
(html-horizontal-rule, html-line, html-image, html-checkboxes)
(html-radio-buttons): Add a space before the trailing `/>' where
sgml-xml-mode is non-nil.
(sgml-delete-tag): Check if the tag ends with `/>' to not delete
the subsequent tag of the empty XML tag.
(html-href-anchor): Don't set initial input to "http:".
(html-image): Ask for the image URL and set point inside alt="".
(html-name-anchor): Duplicate the name in the `id' attribute when
sgml-xml-mode is non-nil.
(html-paragraph): Remove \n before <p>.
(html-checkboxes, html-radio-buttons): Insert `checked="checked"'
instead of `checked' when sgml-xml-mode is non-nil.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 08 Mar 2005 21:45:00 +0000 |
parents | 746c40973d25 |
children | 730155197b96 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" && chmod a+rx "$pathcomp") || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here