hi guys can anyone tell me how to replace a line with the word "hi" and "hello" with another line perphaps like "hi how are u?"just started learning sed,need this command for my project,thanks alot:)
hey,
sed 's/pattern1/pattern2/' file1.txt
hi guys can anyone tell me how to replace a line with the word "hi" and "hello" with another line perphaps like "hi how are u?"just started learning sed,need this command for my project,thanks alot:)
hey,
sed 's/pattern1/pattern2/' file1.txt