|
|
1.1 ! root 1: .TH COLUMN 1 ! 2: .CT 1 files writing_output ! 3: .SH NAME ! 4: col, 2, 3, 4, 5, 6, mc, fold, expand \- column alignment ! 5: .SH SYNOPSIS ! 6: .B col ! 7: [ ! 8: .B -bfx ! 9: ] ! 10: .PP ! 11: .B 2 ! 12: [ ! 13: .I file ! 14: ] ! 15: .PP ! 16: .B mc ! 17: [ ! 18: .B - ! 19: ] ! 20: [ ! 21: .BI - N ! 22: ] ! 23: [ ! 24: .B -t ! 25: ] ! 26: [ ! 27: .I file ... ! 28: ] ! 29: .PP ! 30: .B fold ! 31: [ ! 32: .BI - N ! 33: ] ! 34: [ ! 35: .I file ... ! 36: ] ! 37: .PP ! 38: .B expand ! 39: [ ! 40: .BI - stops ! 41: ] ! 42: [ ! 43: .I file ... ! 44: ] ! 45: .SH DESCRIPTION ! 46: These programs rearrange files for appearance's sake. ! 47: All read the standard input and write the standard output. ! 48: Some optionally read from files instead. ! 49: .PP ! 50: .I Col ! 51: overlays lines to expunge reverse line feeds ! 52: (ESC-7) ! 53: and half line feeds (ESC-9 and ESC-8) ! 54: as produced by ! 55: .I nroff ! 56: for .2C in ! 57: .IR ms (6) ! 58: and for ! 59: .IR tbl (1). ! 60: It normally emits only full line feeds; ! 61: option ! 62: .B -f ! 63: (fine) allows half line feeds too. ! 64: Option ! 65: .B -b ! 66: removes backspaces, printing just one of each pile of overstruck ! 67: characters. ! 68: .I Col ! 69: normally converts white space to tabs; ! 70: option ! 71: .B -x ! 72: overrides this feature. ! 73: Other escaped characters and non-printing characters, except for ! 74: SO and SI, are ignored. ! 75: .PP ! 76: .I Col ! 77: should not be used for printing on an HP ThinkJet printer with ! 78: .I think ! 79: .RI ( thinkblt (9.1)), ! 80: which performs the ! 81: .I col ! 82: function itself. ! 83: .PP ! 84: Commands ! 85: .I "2, 3, 4, 5, 6" ! 86: convert their input to 2-, 3-, 4-, 5-, or 6-column form, ! 87: with consecutive input lines arranged across each row. ! 88: .PP ! 89: .I Fold ! 90: inserts newlines after each ! 91: .I N ! 92: characters (default ! 93: .IR n =80, ! 94: or ! 95: .IR mux (9.1) ! 96: window size) ! 97: of long lines. ! 98: .PP ! 99: .I Mc ! 100: splits the input into as many columns as will fit in ! 101: .I N ! 102: print positions (default ! 103: .IR N =80). ! 104: Under option ! 105: .B - ! 106: each input line ending in a colon ! 107: .L : ! 108: is printed separately (see example). ! 109: On output, multiple spaces are converted to tabs; this ! 110: is suppressed by option ! 111: .BR -t . ! 112: .PP ! 113: .I Expand ! 114: replaces tabs by spaces. ! 115: The optional ! 116: .I stops ! 117: argument is a comma-separated list of tab stops, counted from 0; ! 118: default is every 8 columns. ! 119: .SH EXAMPLES ! 120: .TP ! 121: .L ! 122: tbl file | nroff -ms | col | hp ! 123: Format some tables for printing on typewriters; ! 124: use ! 125: .I col ! 126: to remove reverse line feeds and ! 127: .I hp ! 128: (see ! 129: .IR ul (1)) ! 130: to do underlining, etc., on an HP terminal. ! 131: .TP ! 132: .L ! 133: ls directory1 directory2 | mc - ! 134: List files in multiple columns, separated by directory. ! 135: .SH SEE ALSO ! 136: .IR pr (1) ! 137: .SH BUGS ! 138: .I Col ! 139: can't back up more than 128 lines or ! 140: handle more than 800 characters per line, ! 141: and understands ! 142: .L VT ! 143: (013) as reverse line feed.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.