Support procedures ~ menu

I created a support menu for myself for frequent access items.  Using Korn shell with no extentions -- but, 
with the first line ='#!/usr/gbin/ksh' (to inform OS I'm using ksh). 
 
::/mnt/replicated/apps/datamodules/_SUP> cat menu
#!/usr/bin/ksh
# -            -----------------
# description: menu             ~ displays list of commands
# -
. ../_CMD/db_setup_DSS.ksh   2>&1 >/dev/null
. ../_CMD/set_mmdd_DSS.ksh 0 2>&1 >/dev/null
grep -h "description" *|grep "#"|grep -v "grep"
::/mnt/replicated/apps/datamodules/_SUP> menu
# description: consolidated     ~ starts mysql with the consolidated database
# description: dailysettlements ~ starts mysql with the dailysettlements database
# description: dss              ~ starts sqlplus with the dss oracle instance
# description: edb              ~ start sqlplus with the edb oracle instance
# description: menu             ~ displays list of commands
::/mnt/replicated/apps/datamodules/_SUP>

No comments:

Favorite Tweets