1 # The UCW Library -- Shell Functions
2 # (c) 2005 Martin Mares <mj@ucw.cz>
4 # This software may be freely distributed and used according to the terms
5 # of the GNU Lesser General Public License.
8 while [ "${1:0:2}" = "-C" -o "${1:0:2}" = "-S" ] ; do
9 if [ -z "${1:2:1}" ] ; then
10 UCW_CF="$UCW_CF $1 $2"
20 bin/ucw-logger $UCW_PROGNAME I "$1"
25 bin/ucw-logger $UCW_PROGNAME E "$1"
28 function warnlog # msg
30 bin/ucw-logger $UCW_PROGNAME E "$1"
35 bin/ucw-logger $UCW_PROGNAME ! "$1"
39 function parse-config # section vars...
41 eval `bin/ucw-config$UCW_CF "$@"`