UNCONTROL
Remove Control Characters From a File


UNCONTROL is a C++ program which reads a file and makes a copy with no control characters (except for carriage control).

Licensing:

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

Related Data and Programs:

CR2LF is a C++ program which reads a text file and replaces carriage returns by line feeds.

CRRM is a C++ program which makes a copy of a text file which contains no carriage returns.

DEBLANK is a C++ program which makes a copy of a text file which contains no blank lines.

DECOMMENT is a C++ program which makes a copy of a text file which contains no comment lines (lines which begin with "#").

DETROFF, a C++ program which removes from a file every occurrence of the TROFF overprint pair character+backspace, which can make a MAN page printable;

FILUM is a C++ library which performs various operations on files.

REFORMAT is a FORTRAN90 program which reads a text file that contains only real values, and writes a copy which has a fixed number of real values on each line.

REWORD is a C++ program which reads a text file and writes a copy which has a fixed number of "words" per line.

WRAP is a C++ program which makes a copy of a text file in which no line is longer than a user-specified wrap length.

WRAP2 is a C++ program which wraps long lines in a text file, but which wraps some lines "early", so as to avoid breaking words.

Usage:

uncontrol old_file new_file
reads the file old_file and makes a copy new_file containing no control characters.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 02 December 2006.