selection particular number of line from a bunch by user defined limits.

hello

i am having a file having a matrix as the following

4.1 5.5 6.55
7.2 8.2 1.002

i am having around 1 lakh rows, now i need a program in which i show give min x and min y and min z values and as well as max x max y max z, the values between these minimun and maximum values should be written into another file.

What code have you written?

What system are you using?

What operating system, shell and version?

???