Hi, I wanted to create a script to do simple RegExpression text replace of srt subtitle files.
I wanted to use the for example the following command:
What I would like is that the script modifies all the *.srt files of a folder. By "modify" I mean replace the old file with the resulting one (I haven't been able to do that from the terminal using sed).
Regards,
Mguel
PS: On windows I used SubtitleWorkshop which had regexp files for modifying the subtitles easily. I haven't been able to make it run using wine since it seems it depends on DirectX
I wanted to use the for example the following command:
Code:
sed 's/<i>//g;s/<\/i>//g' file.srt > file_new.srt
Regards,
Mguel
PS: On windows I used SubtitleWorkshop which had regexp files for modifying the subtitles easily. I haven't been able to make it run using wine since it seems it depends on DirectX