Monday, 9 September 2013

sed replace a word at a line wich begins with a specific pattern using

sed replace a word at a line wich begins with a specific pattern using

How can I do so on FreeBSD? Considering the following file contents:
this is to test that was for test
I want to replace "test" at the line which begins with "this".

No comments:

Post a Comment