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.