Created
October 4, 2016 18:00
-
-
Save pahnin/dfcd92a999054114e7326d1ab770a95a to your computer and use it in GitHub Desktop.
commands to fix mess created by google translate while translating srt file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -E "s/\->/\-\->/g" Mafiosa.S01E05.Episode.#1.5.en.srt | |
sed -i -E "s/(0-9)?\.[0-9]/,\1/g" Mafiosa.S01E05.Episode.#1.5.en.srt | |
sed -i -E "s/: /:/g" Mafiosa.S01E05.Episode.#1.5.en.srt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment