Something like:
Code:
$1 > 10.5 && $1 < 11.5 && $2 < 5.5 && $2 > 4.5 && $3 < 90 && $3 > 80 { exit}
The END block will be executed, and there is a variable called FILENAME which you can use to print out the filename with a match, or even a command with the cp or mv command to move the file into the subdirectory.
I didn't follow what you want to do with the 4th field. That seems to imply that you may also want a file produced containing all matching lines, in which case, don't use exit, but set a flag, and print out the 4th column. Check this flag in the END block to determine if there were any matches.
Look at a user guide such as
http://www.gnu.org/software/gawk/manual/gawk.html#top instead of the man page. Most distros also have a gawk doc package that supplies a book "Gawk: Effective AWK Programming".
It may be best to simply print out only matching filenames to stdout, and use this output in a bash for loop to move the files.