December 17, 2017, 08:16:00 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Filter Text Help  (Read 1618 times)

Offline moonbaby

  • New Member
  • Posts: 1
Filter Text Help
« on: March 12, 2008, 01:21:20 AM »
Can someone help me filter out contents of a text than save it? Here is a portion of my text file called 'fsd.txt' i want to filter....

Feature[ id=0 , geom=POLYGON ((-93.23087173555291 45.027015173947376, -93.23529330143086 45.031134906254515, -93.22526966748222 45.03663921971941, -93.22071442799766 45.032394248858154, -93.23087173555291 45.027015173947376)) , value=0.0 , colorIndex=8 ]

what i want to do is filter out everything and just keep one set of lat/lon & the value so something like this, -93.23087173555291 45.027015173947376 value=0

is there any way to do this and run a script? hope this made sense as i'm new to linux...thanks!