And of course, after I hit send, I look through some dusty stuff and find out that there can be escaped parentheses in the PS code itself, so maybe that's where yours are coming from and so you'd want to have s/\\(/(/g s/\\)/)/g or somesuch in your program too. Walter