![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What does this statement mean? | Legend986 | High Level Programming | 1 | 11-16-2007 10:48 PM |
| write statement into one file | rinku | Shell Programming and Scripting | 5 | 06-25-2007 02:03 AM |
| If Statement | lesstjm | Shell Programming and Scripting | 5 | 11-05-2006 12:44 PM |
| If statement falling over on a null record. Help please. | TonyR | Shell Programming and Scripting | 3 | 04-29-2006 12:47 PM |
| How to write an OR statement | aukequist | Shell Programming and Scripting | 1 | 11-08-2005 01:36 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
If statement - How to write a null statement
In my ksh script, if the conditions of a if statement are true, then do nothing; otherwise, execute some commands.
How do I write the "do nothing" statement in the following example? Example: if (( "$x"="1" && "$y"="a" && "$z"="happy" )) then do nothing else command command fi Thanks. |
| Forum Sponsor | ||
|
|