sed – is useful to find and replace text in single or multiple files.
sed -i 's/foo/foo_bar/g' somefile.module
sed -i 's/foo/foo_bar/g' *.module
cvs diff -up > yourpatchfile.patchto create a patch.
sed – is useful to find and delete lines containing text in single or multiple files.
sed -i '/foo/d' somefile.module
sed -i '/foo/d' *.module
Bad Behavior has blocked 744 access attempts in the last 7 days.