On 5/2/07, William Kyngesburye <woklist at kyngchaos.com> wrote: [...] > > If I take enough time to let my brain process the sed command, it > looks like it's something in: > > \(.*\)\.\([^.]*\): > > that is, the file extension is not optional. Spaces are OK in that. Try \(.*\)(\.\([^.]*\))?: instead. Daniel. -- -- Daniel Calvelo Aros