col
Filter reverse line feeds from input. tldr-pages
On Linux
Linux
Filter reverse line feeds from input
command | colIdentifyFilter reverse line feeds and output with spaces instead of tabs
command | col --spacesIdentifyRemove backspaces, output only the last character written to each position
command | col --no-backspacesIdentifySpecify a buffer size with a specific number of lines
command | col --lines numIdentifyFormat a manual page for viewing with less
man ls | col --no-backspaces | lessIdentifyProcess a file with reverse line feeds and save the cleaned output
cat path/to/input_file | col --spaces >output_fileIdentify