GEX thesis source code, full text, references

formalize.sh 1.0KB

12345678910111213141516171819202122232425262728293031323334
  1. #/bin/bash
  2. if [[ "$1" == "" ]]; then
  3. echo "missing arg"
  4. exit
  5. fi
  6. echo "Processing $1"
  7. sed -i "s/\blow cost\b/low-cost/g" "$1"
  8. sed -i "s/\bgeneral purpose\b/general-purpose/g" "$1"
  9. sed -i "s/\bhigh level\b/high-level/g" "$1"
  10. sed -i "s/\blow level\b/low-level/g" "$1"
  11. sed -i "s/\bdon't\b/do not/g" "$1"
  12. sed -i "s/\bdoesn't\b/does not/g" "$1"
  13. sed -i "s/\bthat's\b/that is/g" "$1"
  14. sed -i "s/\bDon't\b/Do not/g" "$1"
  15. sed -i "s/\bit's\b/it is/g" "$1"
  16. sed -i "s/\bIt's\b/It is/g" "$1"
  17. sed -i "s/\bisn't\b/is not/g" "$1"
  18. sed -i "s/\bwon't\b/will not/g" "$1"
  19. sed -i "s/\baren't\b/are not/g" "$1"
  20. sed -i "s/\bAren't\b/Are not/g" "$1"
  21. sed -i "s/\bwouldn't\b/would not/g" "$1"
  22. sed -i "s/\bWouldn't\b/Would not/g" "$1"
  23. sed -i "s/\bcouldn't\b/could not/g" "$1"
  24. sed -i "s/\bCouldn't\b/Could not/g" "$1"
  25. sed -i "s/\bshouldn't\b/should not/g" "$1"
  26. sed -i "s/\bShouldn't\b/Should not/g" "$1"
  27. sed -i "s/\bcan't\b/cannot/g" "$1"
  28. sed -i "s/\bin recent years\b/recently/g" "$1"
  29. sed -i "s/\bIn recent years\b/Recently/g" "$1"
  30. git diff --word-diff "$1"