![]() |
|
|
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 |
| problem in if then else condition | himvat | Shell Programming and Scripting | 26 | 12-17-2008 06:24 AM |
| problem in if condition | mail2sant | Shell Programming and Scripting | 1 | 11-06-2008 08:08 PM |
| Problem with IF condition in awk | ashikin_8119 | Shell Programming and Scripting | 2 | 11-27-2007 09:53 PM |
| problem with if condition | ravi raj kumar | Shell Programming and Scripting | 13 | 01-10-2007 01:06 PM |
| If condition problem | maheshsri | Shell Programming and Scripting | 5 | 11-05-2005 05:19 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Problem in using AND OR condition together
a=rhino
b=crocodil c=testsc if [ [ "$a" = rhino || "$b" = crocodile ] && "$c" = testsc ] then echo "Test #5 succeeds." else echo "Test #5 fails." fi i need to test or condition before check the output with AND condition. ur help is much appreciated... |
| Bookmarks |
| Tags |
| and or condition, checking condition |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|