find init.rc -type f -exec perl -pi -e 's|printlog|printsxm|g' {} \; :1,$s/Log.d(TAG\([1-7]\)/\/\/Log.d(TAG\1/g