![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What does this statement mean? | Legend986 | High Level Programming | 1 | 11-17-2007 02:48 AM |
| write statement into one file | rinku | Shell Programming and Scripting | 5 | 06-25-2007 05:03 AM |
| If Statement | lesstjm | Shell Programming and Scripting | 5 | 11-05-2006 04:44 PM |
| If statement falling over on a null record. Help please. | TonyR | Shell Programming and Scripting | 3 | 04-29-2006 03:47 PM |
| How to write an OR statement | aukequist | Shell Programming and Scripting | 1 | 11-08-2005 05:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|