![]() |
|
|
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 |
| conditional statement | lalelle | Shell Programming and Scripting | 8 | 08-21-2007 09:57 AM |
| awk conditional statement | 3Gmobile | Shell Programming and Scripting | 10 | 08-09-2006 11:01 AM |
| *.pm globs without quoting, *.pl doesn't. | tphyahoo | Shell Programming and Scripting | 2 | 06-02-2006 12:37 PM |
| more elegant way for conditional statement needed | candyflip2000 | Shell Programming and Scripting | 3 | 05-18-2006 08:52 AM |
| Wildcards and quoting | Bab00shka | UNIX for Dummies Questions & Answers | 2 | 09-16-2002 11:16 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
quoting in conditional statement
can somebody help, what quote i should use in below statement or what wrong of it ?
the 1st (*) is a char, the 2nd and 3rd (*) is a wildcard if [[ "$a" = * -o "$a" = *$c* ]] && [[ $d = abc -o $e = xyz ]] && [.....]] ................^ .............^ then echo "ok" fi thanks in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|