Replacing "function(x)" with "x" using sed/awk/smth
Subject says it all.
I can find the matches with the regular expression "function(.*)", but how do I grab the .* part of the match and send it to the output? So far I've only been able to use the entire match (not very useful if you want to remove instead of add something).
Last edited by Griffon26; 10-19-2001 at 04:44 PM.
|