| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
shell script
Hi i have problem in case statement in unix
Here is code for opt in $* do case $opt in 1|A) echo "Generate Dictionary files" ;; 2|A) echo "#Generate ConfigValue" ;; esac done i wanted the script to execute both case when option is A Here what happens is when A is encountered only first case executes and then control come out of case secound case is not executed please help me out |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows OS > shell script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|