Reverse the columns of a file.

FILE_COLUMN_REVERSE is a FORTRAN90 program which creates a copy of a file in which the columns are reverse, that is, the characters on each line appear in reverse order.


reverse_columns input output


The computer code and data files made available on this web page are distributed under the GNU LGPL license.


FILE_COLUMN_REVERSE is available in a FORTRAN90 version.

Related Data and Programs:

FILE_ROW_REVERSE, a FORTRAN90 program which makes a copy of a file with the lines (rows) in reverse order.

FILE_TRANSPOSE, a FORTRAN90 program which makes a transposed copy of a file, in which the I-th word of the J-th line becomes the J-th word of the I-th line.

FILUM, a FORTRAN90 library which can work with information in text files.

TABLE_COLUMNS, a FORTRAN90 program which reads a table file of N points in M dimensions and creates a new file by copying various columns, with repetition and shuffling;

TABLE_COLUMNS_PERMUTE, a FORTRAN90 program which reads a table file where each line has COL_NUM values, and permutes the columns according to the user's prescription;

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.

Last revised on 21 November 2013.