1

Regex for phrase matching with case statement in ksh

view story
linux-howto

http://unix.stackexchange.com – I am trying to start or stop a service on AIX in ksh. I am trying to start to build in fool proofing for checking things like if the services is already down, etc. Here is my script #!/bin/ksh ################################################################################# # PARAMETERS & VARIABLES SECTION # ################################################################################# DBI_LOC="DBI/InstallCollector/dbi_collector/bin" #Put input option to upper case. OPTION=$( echo "$1" | tr "[:lower:]" "[:upper:]" ) ################ (HowTos)