Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. sed 's/<cat>/dog/g' tt.txt
  2.  
  3. sed 's/<cat>/dog/g' tt.txt
  4.  
  5. sed 's/<cat>/dog/g' tt.txt
  6.  
  7. sed 's/<cat>/dog/g' tt.txt >tt.txt-new
  8.  
  9. sed 's/<cat>/dog/g' tt.txt >tt.txt-new && mv tt.txt-new tt.txt
  10.  
  11. sed -i '' 's/<cat>/dog/g' tt.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement