Dear All
I have a file like this
112534554
446538656
444695656
225696966
226569744
228787874
113536566
443533535
222564552
115464656
225445345
225533234
I want to cut the file into different parts where the first two columns are '11' . The first two columns will be either 11, 22,44 or 66.
I want the output to be directed to three files named serially like f001, f002, f003.......like this
cat f001
112534554
446538656
444695656
225696966
226569744
228787874
cat f002
113536566
443533535
222564552
cat f003
115464656
225445345
225533234
How can i put this in a loop till the end of read of my input file......
Please help.....
Regards