Interview Preparation mode beta
Funny Facebook Status Funny Facebook Status
Enter your email address

How do you substitute strings with sed?

Nice?Vote!

1 Answer

Nice?Vote!
Use ’s/old/new’ command, so sed ’s/hello/goodbye/’ would substitute the occurrence of the word hello to goodbye.
answered 1 year ago by R (19,530 points)

Related questions