1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/doc_parse/cgi-bin/doc_parse.bash
2015-01-23 17:24:36 +01:00

26 lines
218 B
Bash
Executable File

#!/bin/bash
# doc_parse.sh
. ./.env
set_ENV $0
if [ "$REQUEST_METHOD" = "GET" ]; then
if [ $# -eq 1 ]; then
view_doc $1
elif [ $# -eq 2 ]; then
view_doc_tag $1 $2
fi
fi
write_OUTPUT "$OUTPUT"
exit 1