there are 20 files - 1.txt 2.txt 3.txt .... 20.txt with different number of lines (the total number of lines in all 20 ti files is 36 thousand)
and there is one big file also with 36,000 lines - big.txt
Task: substitute lines from a large file at the beginning of lines of all 20 files
example:
in a large line file:
- Hi Uncle Vanya;
- while Uncle Vanya;
- Hello Uncle Vanya;
....etc.
in 20 files lines:
- the police are good
- the police are good
- firemen good
...etc.
As a result, in 20 files should be:
- hi uncle vanya; militia good
- while Uncle Vanya; the police are good
- hello uncle Vanya; firefighters well
...etc.
Additional condition to merge these 20 files can not
------- \ ----- \ -------- protested, it turns out like this:
-строка из big.txt;первая строка файла 01.txt -строка из big.txt;вторая строка файла 01.txt -.... -строка из big.txt;предпоследняя строка файла 01.txt -строка из big.txt;последняя строка файла 01.txtперваястрока файла 02.txt -строка из big.txt;вторая строка файла 02.txt -строка из big.txt;третья строка файла 02.txt -.... -строка из big.txt;предпоследняя строка файла 02.txt -строка из big.txt;последняя строка файла 02.txtперваястрока файла 03.txt -строка из big.txt;вторая строка файла 03.txt -строка из big.txt;третья строка файла 03.txt -....