This file contains hidden or 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
| To simply remove timecodes (this is a long command that should be on one line): | |
| cat episode01.srt | |
| |cat "$@"|tr -d '\r' | |
| |grep -v '^[0-9]*$' | |
| |grep -v '^[0-9][0-9]:[0-9][0-9]:[0-9][0-9],[0-9][0-9][0-9] --> [0-9]' | |
| > episode01.txt | |
| To remove timecodes and linebreaks: |