I am attempting 3 things.
1# split the file into small chunks
2# while splitting I need to add some text to the start of each split file. 3# I need to add some text to the end of file of each split file.
I have a file of 2 GB on which I need to perform operations. Here is the small chunk for sample of the file I have. Please split this file as per 10 lines each.
Example of the raw file on which operation need to be done:https://drive.google.com/file/d/0BzQ6rtO2VN95c0YzclhySVZYNDQ/view?usp=sharing
I want to make each split file as a php file. Here is an example of the php file: https://drive.google.com/file/d/0BzQ6rtO2VN95ZjU1WXpjTElCaEE/view?usp=sharing
I just need the newly split files to be PHP file and they should look like this:
<?php $urls = array("tvproduction.agency ","http://tween.agency","http://twelve.agency","http://twenty1.agency ","http://twenty47.agency ","http://twentynine.agency ","http://twentyone.agency ","http://twentysenses.agency ","http://twentysix.agency ","http://twentyten.agency"); ?>
I have tried
split but it only split the file.