Search and replace not working in sed for string containing space and special character – Ubuntu
I want to prefix the line containing the string echo '"xxx.yyy" with "# " (ash+space) string in file.txt using sed in linux output should look like this: # echo '"xxx.yyy" I tried this: find file.txt -type f -exec sed -i…