Skip to content

Instantly share code, notes, and snippets.

@pahnin
Created October 4, 2016 18:00
Show Gist options
  • Save pahnin/dfcd92a999054114e7326d1ab770a95a to your computer and use it in GitHub Desktop.
Save pahnin/dfcd92a999054114e7326d1ab770a95a to your computer and use it in GitHub Desktop.
commands to fix mess created by google translate while translating srt file
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