filum, a Fortran77 code which works with information in text files.
The information on this web page is distributed under the MIT license.
filum is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
cr2lf, a C++ code which reads a text file and replaces carriage returns by line feeds.
crrm, a C++ code which reads a text file and removes the carriage return character.
deblank, a C++ code which reads a text file and writes a copy which has no blank lines.
decomment, a C++ code which makes a copy of a text file which contains no "comment" lines (that begin with "#").
file_merge, a Fortran90 code which merges two sorted files.
files_multiple, a Fortran77 code which demonstrates how a program can open multiple output files at one time, and write data to any one specific file it chooses.
reformat, a Fortran90 code which makes a copy of a file with a given number of "words" per line.
reword, a C++ code which reads a text file and writes a copy which has a fixed number of "words" per line.
uncontrol, a C++ code which makes a copy of a text file which contains no control characters.
wrap, a C++ code which makes a copy of a text file in which no line is longer than a user-specified wrap length.
wrap2, a C++ code which wraps long lines in a text file, but which wraps some lines "early", so as to avoid breaking words.