Hi All,
My requirement is like this.
I want to generate records of 1 million lines. If I say lines it means one line will contain some string or numbers like
AA,3,4,45,+223424234,Tets,Ghdj,+33434,345453434,........................ upto length lets say 41. ( 41 comma sepearted aplha numneric values ).
Now i want 5, 7 and 23 field should be unique or in some incremental order for ex. if in first line value is 33 then next line, same fields position value should be 34 and so on. All other fields in all the lines can be same
Now for reference this script should refer one sample file and based of that it will create a file with 1 million lines. In my case following is my reference file
1,10,+91900000000,+9112323230000,,1,60,25/1/200923:10:10,3534671234500001,40591912000000001,1001001,1,1,10,3,1,1,1,0,20,+91900000000,329,ss,in_flag,digits,IC_TRUN,OG_TRUNK,NET_IND,realer_st,switch,source,plmn,1,cug_code,ff_call,corela,service3g,conf,op1,op2,op3
I want 3,4 and 21 field as as unique rest filed can be same.
Please help me out in this as am new to shell scripting.
rd-