Annotation of badi/public_scripts/parallelstarter/db_backup/prepare_run, revision 1.1.1.1

1.1       adi         1: 
                      2: db="$(echo "$RUN_ARGS" | sed -e "s/^.*\(-D\|--database\) \([^ ]*\) *-*.*$/\2/")"
                      3: # for OS X use
                      4: # db="$(echo "$RUN_ARGS" | sed -E "s/^.*(-D|--database) ([^ ]*) *-*.*$/\2/")"
                      5: 
                      6: dbhost="$(echo "$RUN_ARGS" | sed -e "s/^.*\(-h\|--host\) \([^ ]*\) *-*.*$/\2/")"
                      7: # for OS X use
                      8: # dbhost="$(echo "$RUN_ARGS" | sed -E "s/^.*(-h|--host) ([^ ]*) *-*.*$/\2/")"
                      9: 
                     10: STARTMSG="Starting backup of DB $db on $dbhost..."
                     11: 
                     12: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>