Just a collection of some random cool stuff.
PS. Almost 99% of the contents here are not mine and I don't take credit for them, I reference and copy part of the interesting sections.
Sunday, May 27, 2012
sed subtitle fix
From (broken.srt)
00:00:14:267 --> 00:00:20:258
to (fixed.srt)
00:00:14,267 --> 00:00:20,258
cat broken.srt | sed -e 's/\([0-9]*\):\([0-9]*\):\([0-9]*\):\([0-9]*\)/\1:\2:\3,\4/g' > fixed.srt
No comments:
Post a Comment