The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-01-2009
darius2 darius2 is offline
Banned
  
 

Join Date: Jan 2009
Posts: 26
Quote:
Originally Posted by reborg View Post
If you want to have the output on screen, then

Code:
gpsd stream | awk 'your awk program' | your other program

would work.

However given then number of possible sentences, your awk program would quickly become very complicated.
Thanks for your kind reply.

It works fine.
Followed some awk examples from
The GAWK Manual - Reading Input Files
and did some testing to learn basics of awk first.

Darius