My requirement here is to create a range of values out put to a temp k
file based on the percentage that i input to the File1.txt .
Suppose if i execute the shell script with the 10(percentage) as input,my out put would look like this in temp file
1-1000
1001-2000
2001-3000
.
.
.
9001-10000
As you said i require the range 9801-10000 (Or would you also want the 9801-10000 range ?) and it is mandate also.
Thank you
---------- Post updated at 07:31 PM ---------- Previous update was at 06:19 PM ----------
Hi,
My integers are created in the below range with 2600 values ,and i inputted to the script sent by you with the below input and 50 as dividing factor
0000000433874674
.
.
.
.
.
0000000433877573
i end up in below result .
1 - 2.16939e+08
2.16939e+08 - 433877573
Now we have two requirements below.
1) We want to have the chunks even it is divided by 14 as you said in your earlier post
2) And we want to avoid the exponential parts as put up in the above example .