Hi Vimmers,

I am tasked to replace the pattern

log("module_name", LOG_LEVEL_DEBUG, "The Value of status=%d message",
status);

to

log("module_name", LOG_LEVEL_DEBUG, "%s:The Value of status=%d
message",__FUNCTION__, status);


This pattern is appearing in hundreds of source files. Does anybody have
a quicker way/script to do this task ?.
I know it is possible through macro substitution by writing another
macro on top of this, But again it is not a cleaner way..

Any help Most welcome.
regards,
srini...


Reply via email to