Bruce wrote: > Or how can I convince sed to dump anything between two //'s i.e. /Windows/ sed -e 's,/[^/]*/,,g' or sed -e 's,/.*/,,g' depending upon whether you want the shortest or longest match (the former will change /foo/bar/baz to bar/baz; the latter will change it to just baz). -- Glynn Clements <glynn@sensei.co.uk> - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org