Initial Commit - Copy from Altus Metrum AltOS

This commit is contained in:
2024-06-25 19:03:04 +02:00
commit 13fc49c923
2048 changed files with 1206748 additions and 0 deletions

32
doc/install-html Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/sh
destination=
state=arg
for file in "$@"; do
case $state in
arg)
case $file in
-d)
state=destination
;;
*)
base=`basename $file`
case "$destination" in
"")
echo "Need -d destination option before files" 1>&2
exit 1
;;
*)
sed \
-e 's/<[?]xml [^>]*>//' \
-e 's/<!DOCTYPE [^>]*>//' "$file" > "$destination/$base"
;;
esac
;;
esac
;;
destination)
destination=$file
state=arg
;;
esac
done