#!/bin/bash
#
# Convert HTML pages as created by Praat -> Manual -> Save manual to HTML directory...
# And correct links to Praat manual
#
UNAME=$(uname -s)
if [[ ${UNAME} == "Darwin" ]]; then
SEDCMD="sed -i ''"
else
SEDCMD="sed --in-place"
fi
# Use in-place editing by Perl
perl -n -i'' ConvertHTMLpages.pl ${@:-*.html}
# Keep the original picture files and replace those generated by Praat
# Patch HTML files
#for file in $(ls -1 ${@:-*.html}); do
#done