![]() |
|
|
|
|
|||||||
| 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 |
| Imitating DOS functionality: The Call Statment | jadionne | UNIX for Dummies Questions & Answers | 21 | 12-25-2007 08:01 AM |
| what is wrong with my awk statment? | hankooknara | Shell Programming and Scripting | 1 | 06-18-2007 08:27 PM |
| How to redirect value from sql select statment to unix variable | abdulhafeez | Shell Programming and Scripting | 16 | 12-26-2006 07:40 AM |
| hwo do I print ' in an awk statment? | baraka | UNIX for Advanced & Expert Users | 7 | 11-30-2006 03:57 AM |
| problem w/ -z && -n switches in an if statment | Optimus_P | Shell Programming and Scripting | 1 | 07-31-2002 07:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
if statment, based on retune value
hello
im working on a project for the iphone to write a termainal based program we have bsd subsystem installed so have access to most unix command i have a executable called coordinates, which get the coordinates of the iphone when this runs it returns to the terminal the text of "success" or the text of "failed" i want to write a shell script that will run different code for each, somthing like if (result of coordinates = "success") then {chunk of code1} else {chunk of code2} end if anyone got any ideas that could help? thanks. |
| Forum Sponsor | ||
|
|