Hello Masters,
I have two subtitles file with different language like below
First file :
1
00:00:41,136 --> 00:00:43,900
[<i># Underdog theme</i>]
2
00:00:55,383 --> 00:00:58,477
<i> Ladies and gentlemen,</i>
<i>this is Simon Barsinister,</i>
3
00:00:58,553 --> 00:01:00,521
<i>the wickedest man in the world.</i>
4
00:01:00,588 --> 00:01:02,021
<i>He was evil and crazy.</i>
5
00:01:02,090 --> 00:01:06,026
<i>Simon and his wacky henchman, Cad,</i>
<i>schemed to rule the universe.</i>
6
00:01:06,094 --> 00:01:08,289
<i>But each time they were foiled by me,</i>
Second file :
1
00:00:35,060 --> 00:00:37,708
*** UNDERDOG ***
2
00:00:48,714 --> 00:00:51,668
Dame in gospodje,
to je Simon Barsinister,
3
00:00:51,745 --> 00:00:53,625
najzlobnej�i �lovek
na svetu.
4
00:00:53,701 --> 00:00:55,084
Bil je zloben in blazen.
5
00:00:55,160 --> 00:00:58,918
Simon in njegov sluga Cad
sta spletkarila proti univerzi.
6
00:00:58,994 --> 00:01:01,106
Ampak vedno sem jima
na�rte prekri�al jaz,
I want to overwrite lines that contains time on first file with the apropriate lines from the second file so the final subtitles file will look like this :
1
00:00:35,060 --> 00:00:37,708
[<i># Underdog theme</i>]
2
00:00:48,714 --> 00:00:51,668
<i> Ladies and gentlemen,</i>
<i>this is Simon Barsinister,</i>
3
00:00:51,745 --> 00:00:53,625
<i>the wickedest man in the world.</i>
4
00:00:53,701 --> 00:00:55,084
<i>He was evil and crazy.</i>
5
00:00:55,160 --> 00:00:58,918
<i>Simon and his wacky henchman, Cad,</i>
<i>schemed to rule the universe.</i>
6
00:00:58,994 --> 00:01:01,106
<i>But each time they were foiled by me,</i>
How to do it with awk/gawk ?
TIA.