View Single Post
Old 07-10-2005, 02:23 PM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
I didn't really test this but here's some perl you could clean up.
Code:
perl -pi .bak -e 's/function getDBBackend\(\)\n\{\n+.*\n*}.*\n/function getDBBackend()\n{\n\/\/ DB backend not applicable, use test backend\n}\n/mg'
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote