[Loadstone] Point Share

S. Massy lists at wolfdream.ca
Sat Aug 4 04:52:17 BST 2012

On Mon, Jul 16, 2012 at 09:42:50AM +0200, rj wrote:
> Hi list, Kit,
> I was also thinking that the simplest way to get rid of the unwanted
> poi's is to delete them from the file the poi share server produces.
> But I think the Amsterdam area contained some 14.000 poi's,  so we need
> a script to delete the unwanted ones.
> Every poi seems to be on a new line so a script that searches for a user
> definable string (i.e. recycling, playground) and if found removes the
> line would probably do the job. 
> What scripting language are we going to use? Python? It must be platform
> independent.
You can just use grep. e.g
$ zcat mylsfile.txt.gz | grep -v -e waste\ basket -e drinking\ water |gzip - >mycleanedlsfile.txt.gz


More information about the Loadstone mailing list