Skip to content

Instantly share code, notes, and snippets.

@garaemon
Created October 31, 2015 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garaemon/110248e9d82c371b4366 to your computer and use it in GitHub Desktop.
Save garaemon/110248e9d82c371b4366 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Origincal Codecs"
find . -name '*tex' | xargs -n 1 -I {} sh -c 'echo -n "{}: "; nkf -g {}'
find . -name '*tex' | xargs -n 1 nkf -w --overwrite
echo
echo "Converted Codecs"
find . -name '*tex' | xargs -n 1 -I {} sh -c 'echo -n "{}: "; nkf -g {}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment