![]() |
|
|
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 |
| What's wrong with this script | amitg1980 | Shell Programming and Scripting | 3 | 11-12-2007 07:00 PM |
| what is wrong with this script? | hankooknara | Shell Programming and Scripting | 8 | 06-09-2007 01:33 PM |
| What is wrong with this script? | heprox | Shell Programming and Scripting | 8 | 11-16-2006 05:43 AM |
| what is wrong with this script? | circleW | Shell Programming and Scripting | 2 | 09-28-2004 09:27 PM |
| What is wrong with my script? | Lem2003 | UNIX for Dummies Questions & Answers | 6 | 05-29-2003 02:17 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
what is wrong with this script?
Hi,
I have this example script which gives error "[: ]: unexpected operator/operand". I need the '[]' brackets for operator precedence. #!/bin/ksh x="abc" y="xyz" z="123" if [ "$x" = "abc" ] -a [ "$y" = "xyz" -o "$z" != "123" ] then print "yes" else print "no" fi Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|