File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # col
2+
3+ > Filter reverse line feeds from input.
4+ > More information: < https://manned.org/col > .
5+
6+ - Filter reverse line feeds from input:
7+
8+ ` {{command}} | col `
9+
10+ - Filter reverse line feeds and output with spaces instead of tabs:
11+
12+ ` {{command}} | col {{[-x|--spaces]}} `
13+
14+ - Remove backspaces, output only the last character written to each position:
15+
16+ ` {{command}} | col {{[-b|--no-backspaces]}} `
17+
18+ - Specify a buffer size with a specific number of lines:
19+
20+ ` {{command}} | col {{[-l|--lines]}} {{num}} `
21+
22+ - Format a manual page for viewing with ` less ` :
23+
24+ ` man ls | col {{[-b|--no-backspaces]}} | less `
25+
26+ - Process a file with reverse line feeds and save the cleaned output:
27+
28+ ` cat {{path/to/input_file}} | col {{[-x|--spaces]}} > {{output_file}} `
You can’t perform that action at this time.
0 commit comments