sed clarification

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sed clarification

vamsi krishna

I want to replace all occurance of set_a_b.sh with set_c_d.sh in a file file.txt.This command is
not working.


sed 's/set_a_b.sh/set_c_d.sh/g' file.txt
Reply | Threaded
Open this post in threaded view
|

Re: sed clarification

Guru
Administrator
 This command looks fine. Can you please post sample input content and command output?