We have a shell script that reads extdata.txt and extracts the information and merges the data into a table. There two while loops in the program. The inner loop is iterating too many times.
The requirement is we need to extract data only for 12 threads but it is running more number of time and extracting same data. Need to help to restrict the number of iterations.