blob: c05d7496848c494962a0c11d64e0f93a733810cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# Translates simplified documents from src/
BASEDIR=~/homepage
TOOLS="${BASEDIR}/tools"
SOURCES="${BASEDIR}/src"
find "${SOURCES}" -name '*.xhtml' |
sed -e "sS^${SOURCES}SS" |
xargs -Ifile xsltproc -o "${BASEDIR}/file" \
"${TOOLS}/xml-to-html.xsl" "${SOURCES}file"
|