Click here to Skip to main content
15,867,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I want to replace a func name with other func name .
Is there any command which recursively check for each file and replace the word ?

Regards
hkishn
Posted

You might write your own application. It would be a nice exercise.

However, have a look at this Stack Overflow[^] question (you may use awk for the pattern matching functionality).
 
Share this answer
 
v2
You could use a combination of find[^], awk[^] and ed[^] commands, or write a program to do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900