catdata.py


Usage

catdata.py

Overview

catdata.py looks at the current directory, finds all the subdirectories, and looks in the those for all files ending in .out. It assumes these files are output files from reduce.py and it concatenates them together to standard output (the screen).

Only files in immediate subdirectories are checked; there is no recursion.

No processing of the files is done; they are simply echoed.

The list of files in the current directory is sorted; if the subdirectories are named according to a scheme like YYYY-MM-DD, then they will be processed in chronological order (oldest first).

This program essentially replicates the unix command "cat */*.out", and exists to possibly make it possible to port scripts like generate_table to Windows.