On Mon, 2011-09-19 at 12:16 +1000, Mick wrote: > I am sure a combination of grep & sed or similar could automate this > but I can't get my head around the sed part. Maybe it could, but without actual samples showing the data you are trying to edit and what you are trying to accomplish it is hard to say.