![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ksh case statement | dgilc | Shell Programming and Scripting | 2 | 12-16-2008 04:34 PM |
| case statement | c00kie88 | Shell Programming and Scripting | 2 | 10-12-2008 06:08 PM |
| If or Case Statement | Ernst | UNIX for Dummies Questions & Answers | 1 | 09-24-2008 06:00 PM |
| Case Statement | Zeta_Acosta | Shell Programming and Scripting | 19 | 04-06-2004 05:16 PM |
| case statement | Bab00shka | Shell Programming and Scripting | 1 | 07-15-2002 06:31 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
case statement in UNIX scripting (ksh)
Hi,
I have a script like below : #!/bin/ksh echo "Do you want to export all docs [yes or no]?" read alld echo "Do you want to export template or report only [yes or no]" read temr case [[$alld=="yes"] && [$temr=="yes"]] #arguments ;; case [[$alld=="no"] && [$temr=="yes"]] #arguments ;; case [[$alld== "yes"] && [$temr=="no"]] #arguments ;; done Can someone debug my script and tell which parts are wrong? Because I've been getting syntax errors when I tried to run this script. Any feedback appreciated so much. Thanks ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|