Created
February 1, 2020 14:13
-
-
Save karelhala/fe1b0db24b503f836b506281e03512fd to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
line=$(printf "=%.0s" {1..50}) | |
for FMT in $(iconv -l); do | |
echo "$line\nFormat $FMT:\n$line" | |
iconv -f $FMT -t UTF8 < inputFile.srt | head -n20 | |
done > all.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment