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