Guest User

Untitled

a guest
May 21st, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. #/bin/bash
  2.  
  3. if [[ "$1" == "" ]]; then
  4. echo "missing arg"
  5. exit
  6. fi
  7.  
  8. echo "Processing $1"
  9. sed -i "s/low cost/low-cost/g" "$1"
  10. sed -i "s/general purpose/general-purpose/g" "$1"
  11. sed -i "s/high level/high-level/g" "$1"
  12. sed -i "s/low level/low-level/g" "$1"
  13. sed -i "s/don't/do not/g" "$1"
  14. sed -i "s/Don't/Do not/g" "$1"
  15. sed -i "s/it's/it is/g" "$1"
  16. sed -i "s/It's/It is/g" "$1"
  17. sed -i "s/isn't/is not/g" "$1"
  18. sed -i "s/aren't/are not/g" "$1"
  19. sed -i "s/Aren't/Are not/g" "$1"
  20. sed -i "s/wouldn't/would not/g" "$1"
  21. sed -i "s/Wouldn't/Would not/g" "$1"
  22. sed -i "s/couldn't/could not/g" "$1"
  23. sed -i "s/Couldn't/Could not/g" "$1"
  24. sed -i "s/shouldn't/should not/g" "$1"
  25. sed -i "s/Shouldn't/Should not/g" "$1"
  26. sed -i "s/can't/cannot/g" "$1"
  27. sed -i "s/in recent years/recently/g" "$1"
  28. sed -i "s/In recent years/Recently/g" "$1"
  29.  
  30. git diff --word-diff "$1"
Add Comment
Please, Sign In to add comment