View Single Post
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#7
Originally Posted by Matan View Post
I am not sure I understand your request, but the following program displays GPS data on the terminal:
http://my.svgalib.org/770/n900/location-example.c
http://my.svgalib.org/770/n900/location-example
It works very well. Thanks.

I have a problem. For use in a Bash script and also to other commands ... How I can do? I used console commands that return a single result over time. or code and return it every little bit I do not know how to access their results if I run it with another instance at a time or after its implementation.

Example:

...
location-example;
/ Sbin / iwlist wlan0;
# How do I access the values returned location-example?
...