Hello all,
I'm trying to read in an entire tab-delimited files with the following data layout:
File Title Line is always at the top.
DataName1 DataNam2 DataName3
12345 123.4 12.456
9876 987.65 45678
There may be any number of rows and columns after the title line.
I want to read in the file and output separate files for each column. For instance:
DataName1.txt would contain:
12345
9876
DataName2.txt would contain:
123.4
987.65
DataName3.txt would contain:
12.456
45678
I think Perl may be best for this specific problem though I could also use C++. Anyone have an easy solution they wouldn't mind sharing?
Thanks!