Changed seq to bash {..}
replaced cat x > y with cp x y
Removed cat x | before grep
Removed cat x | before sed
Removed cat x | before cut
Removed cat x | before sort
Removed cat x | before fmt
Removed useless cat - | in view_file()
Use < x in favor of cat x
Combine grep and sed
Use grep with --include
Combine sed and grep
Place stdin redirect behind the command
Combine sort and uniq
Combined awk and tr (tolower)
Removed unnecessary awk