table_columns_test
table_columns_test,
a Fortran90 code which
calls table_columns(), which
extracts specified columns of data from a text file.
Licensing:
The information on this web page is distributed under the MIT license.
Related Data and Programs:
table_columns,
a Fortran90 code which
reads a table file of N points
in M dimensions and creates a new file by copying various
columns, with repetition and shuffling;
Source Code:
-
input.txt, a sample text file of
4 comments, 1 blank line, 4 data lines
each with 4 columns (except that one line has only 3 columns);
-
output2122.txt, results of
"column 2 1 2 2 input.txt output2122.txt";
-
output3.txt, results of
"column 3 input.txt output3.txt";
-
output4321.txt, results of
"column 4 3 2 1 input.txt output4321.txt";
Last revised on 02 September 2020.