![]() |
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 |
| How to redirect value from sql select statment to unix variable | abdulhafeez | Shell Programming and Scripting | 17 | 10-22-2008 12:55 AM |
| Imitating DOS functionality: The Call Statment | jadionne | UNIX for Dummies Questions & Answers | 21 | 12-25-2007 12:01 PM |
| what is wrong with my awk statment? | hankooknara | Shell Programming and Scripting | 1 | 06-18-2007 11:27 PM |
| hwo do I print ' in an awk statment? | baraka | UNIX for Advanced & Expert Users | 7 | 11-30-2006 07:57 AM |
| problem w/ -z && -n switches in an if statment | Optimus_P | Shell Programming and Scripting | 1 | 07-31-2002 10:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|