wrap2_test, a C++ code which calls wrap2(), which reads a file and makes a copy in which long lines have been broken up. A line is "wrapped" if its length would exceed a given maximum. Unlike the WRAP program, this program will wrap the line before the maximum length is reached, if that will help avoid breaking up words.
The information on this web page is distributed under the MIT license.
wrap2 a C++ code which reads a file and makes a copy in which long lines have been broken up. A line is "wrapped" if its length would exceed a given maximum. Unlike the WRAP program, this program will wrap the line before the maximum length is reached, if that will help avoid breaking up words.