linux - How to use sed to replace 3 letter words? -


i need use sed replace 3 letter words end og, word frog. thought work:

sed 's/?og/frog/' filename 

but not?

this work you.

sed 's/\<.og\>/frog/g' filename  .      matches 1 character  \<     beginning of word anchor \>     end of word anchor 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -