I have a text file and any words like Home before each word that I start I want to insert a file with a lower-case letter, using sed I tried to do it but it is not working: I found this line, is it okay for you? code> Kent echo "Yes No yes no y_e_s _no "| sed -r 's / \ b [az] \ w * \ b / house and / g' home yes no, no house or not y_e_s _no
sed / s (/ [ ^ Az] + | [az] + / house (^ [az] + | [az] +) / g "text file
SAD-RS / B [AG] \ w * \ B / house and / g 'file
No comments:
Post a Comment