sed -i s/id=\"-/id=\"/g testfile
sed -i s/id=\'-/id=\'/g testfile -i = in place s = replace g = globally On Sat, 2010-10-30 at 14:35 +0200, Peter Herison wrote: > 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 > x...@xxx-virtualbox:~$ sed -s "s/id'-/id'/g" data.osm > or > x...@xxx-virtualbox:~$ sed -s "s/id\'\-/id\'/g" data.osm > but nothing is replaced. > > Any idear? > > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

