ok,
for example, the client_hour_1.txt is composed by clientIDs formatted as below:
Quote:
id_555
id_472
...
...
...
the hour_1.txt contains some stats for each of the clients in the previous file and looks like:
Quote:
0.33000 44.3232 99.0424
88.4350 12.6462 45.0931
......... .......... .........
the desired stats.txt should look like
Quote:
id_555 0.33000 44.3232 99.0424
id_472 88.4350 12.6462 45.0931
......
......
I'm under cygwin on Windows...the hour_*.txt files were generated in MATLAB (saved in ASCII format) and the client_hour_*.txt files were created using awk...(i actually extracted them from another file using awk)
so, the root directory is /home/my_dir/
and this directory contains 400 directories , e.g. /home/my_dir/hour_1/ , /home/my_dir/hour_2/ ,etc..etc..
each of these hour_*/ directories contains the files i described above....and the ideal is to have for every directory a stats.txt file , ideally i will try to have for every directory a stats_hour_*.txt file...(e.g. for hour_1/ i would like a stats_hour_1.txt file)
thank you again