Hi,
I have a text file that contains about 15000 lines like the lines below:
IBN LG 00 0 00 05 304 602 1047 SB GWLPOT
IBN LG 00 0 00 11 077 500 2547 SB GWLPOT
IBN LG 00 0 00 19 077 574 2000 SB GWLPOT
IBN LG 00 0 00 25 303 969 8933 SB GWLPOT
IBN LG 00 0 00 44 077 201 6482 SB GWLPOT
IBN LG 00 0 00 61 077 572 4001 SB GWLPOT
IBN LG 00 0 00 64 077 321 5141 SB GWLPOT
IBN LG 00 0 00 68 303 506 8861 SB GWLPOT
IBN LG 00 0 00 75 304 832 0986 SB GWLPOT
IBN LG 00 0 00 77 077 557 0407 SB GWLPOT
IBN LG 00 0 01 11 077 337 7973 SB GWLPOT
I need to have a perl script runs in windows that will make from the file few files containing in each one no more than 1000 numbers in one line without the number 3 in the begging of the number, at the end they should look like that:
('046021047','0775002547','0775742000','039698933','0772016482','0775724001','0773215141','035068861','048320986','0775570407','0773377973')
In the example you can see 11 numbers in one line.
Thanks in advance.
erezz 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.