Files
phpmyadmin/scripts/updatedocs.sh
Robin Johnson c431c04f3d docs stuff
2003-03-05 15:11:17 +00:00

20 lines
356 B
Bash
Executable File

#!/bin/sh
#
# $Id$
#
# Script to build plain text documentation from the HTML version
#
SRC=Documentation.html
DST=Documentation.txt
OPTIONS="--dont_wrap_pre --nolist --dump"
CMD=lynx
if [ ! -e "$SRC" ]; then
if [ -e ../"$SRC" ]; then
SRC="../$SRC"
else
echo 'Unable to locate documentation!'
return
fi;
fi;
$CMD $OPTIONS "$SRC" > "$DST"