reword


reword, a C++ code which reads a text file and makes a copy in which every line has the same number of "words" - that is, strings separated by blanks.

The user specifies the number of words per line.

Usage:

reword old new word_length
where

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

reword is available in a C++ version.

Related Data and Programs:

reword_test

cr2crlf, a C++ code which reads a text file and replaces carriage returns by carriage returns + line feeds.

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 writes a copy which has no carriage returns.

deblank, a C++ code which makes a copy of a text file in which blank lines have been removed.

decomment, a C++ code which makes a copy of a text file which contains no "comment" lines (that begin with "#").

filum, a C++ code which performs various operations on files.

reformat, a FORTRAN90 code 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.

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, to avoid breaking words.

Source Code:


Last revised on 25 April 2024.