I am trying to replace a word :: complete to Failed .
work: complete
Sed command which i am using is given below ::
sed s/work: complete/Failed/g temp1.txt > temp2.txt (Sed command is grabled if i use the above .. because of space which is there between work: and complete. I dont want to replace other words which has Complete.
Because i dont want to mess up other word which is having complete.
Forgetting the -e (it works fine without it), I purposely wrote "failed" in lower case. Why purposely replace a word with a lowercase first letter with one with an uppercase letter?!