James Edward Gray II wrote:
>
> Does this do it?
> 
>    gsub(/\b(abs|sign)(\s*\()/,'\1_c\2')

Perfect.

Thanks,
--
Bil
http://fun3d.larc.nasa.gov