fsub is a very simple script (less than 50 lines of code) for cleaning a .srt file
fsub
fsub <file>
~/.config/fsubrc