Hi All

 

I'm trying to do a find and replace on the file content using the
following command on windows.

 

perl -p -i.bak -e 's/FOO/BAR/g' abc.txt

 

 

abc.txt

=======

test abcd sdfds sdfdsf

fdFOO fsd fds hgjhg df

fsd hfhj gFOOfd gfdgfd

gdf gdf gdf sfsd fsd

 

But the abc.txt remains unchanged................

 

Can you please let me know if  I need to change anything in the command
?

 

Thanks

Prasanna

Reply via email to