[OSM-dev] Search & Replace in #bash

Peter Herison pherison at web.de
Sat Oct 30 13:35:03 BST 2010


Hi

I try to automate the process of creating a PDF-Map for a special
project. The OSM-Date are entered in JOSM, so all ways and nodes have
negative IDs and REFs. To used some texteditor to do a search and
replace. When I tried
xxx at xxx-VirtualBox:~$ sed -s "s/id'-/id'/g" data.osm
or
xxx at xxx-VirtualBox:~$ sed -s "s/id\'\-/id\'/g" data.osm
but nothing is replaced.

Any idear?




More information about the dev mailing list