COLCRT(1) General Commands Manual COLCRT(1)NAME
colcrt - filter nroff output for CRT previewing
SYNOPSIS
colcrt [ - ] [ -2 ] [ file ... ]
DESCRIPTION
Colcrt provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstriking is
destructive. Half-line characters and underlining (changed to dashing `-') are placed on new lines in between the normal output lines.
The optional - suppresses all underlining. It is especially useful for previewing allboxed tables from tbl(1).
The option -2 causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used
which will suppress empty lines. The program never suppresses two consecutive empty lines, however. The -2 option is useful for sending
output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.
A typical use of colcrt would be
tbl exum2.n | nroff -ms | colcrt - | more
SEE ALSO
nroff/troff(1), col(1), more(1), ul(1)BUGS
Should fold underlines onto blanks even with the `-' option so that a true underline character would show; if we did this, however, colcrt
wouldn't get rid of cu'd underlining completely.
Can't back up more than 102 lines.
General overstriking is lost; as a special case `|' overstruck with `-' or underline becomes `+'.
Lines are trimmed to 132 characters.
Some provision should be made for processing superscripts and subscripts in documents which are already double-spaced.
3rd Berkeley Distribution May 7, 1986 COLCRT(1)
Check Out this Related Man Page
COLCRT(1) BSD General Commands Manual COLCRT(1)NAME
colcrt -- filter nroff output for CRT previewing
SYNOPSIS
colcrt [-] [-2] [file ...]
DESCRIPTION
Colcrt provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstriking is
destructive. Half-line characters and underlining (changed to dashing `-') are placed on new lines in between the normal output lines.
Available options:
- Suppress all underlining. This option is especially useful for previewing allboxed tables from tbl(1).
-2 Causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which
will suppress empty lines. The program never suppresses two consecutive empty lines, however. The -2 option is useful for sending
output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.
EXAMPLES
A typical use of colcrt would be
tbl exum2.n | nroff -ms | colcrt - | more
SEE ALSO nroff(1), troff(1), col(1), more(1), ul(1)BUGS
Should fold underlines onto blanks even with the '-' option so that a true underline character would show.
Can't back up more than 102 lines.
General overstriking is lost; as a special case '|' overstruck with '-' or underline becomes '+'.
Lines are trimmed to 132 characters.
Some provision should be made for processing superscripts and subscripts in documents which are already double-spaced.
HISTORY
The colcrt command appeared in 3.0BSD.
AVAILABILITY
The colcrt command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
3rd Berkeley Distribution June 30, 1993 3rd Berkeley Distribution
Hi,
I have this problem of separating 10 consecutive lines from a file, say starting from 21 to 30... I have used a filter like this..
head -n 30 myfile | tail -n 10
Is there a simpler way than this? (2 Replies)
I am getting the coutput like this as show below in one single line, where as the command is executed is several lines and the output should also be requied in several lines, not in one single line.
Anyone any idea?
p4 opened -a | grep *locked* | awk '{ printf $8 }' >/tmp/aa
$ cat... (1 Reply)
Hi,
How would I get rid of lines having something else than numbers (such as tabs,white space, special characters, empty line, letters).
So I have big file with numers as follows:
12345678901
23456789012
32343678901
42345638901
52345678901
and I sometimes the file might contain some... (2 Replies)
Hi
I do a ps -aef on a solaris machine and want to get the number of lines. The problem is that the first line is empty and want to get rid of it. how?
thx (1 Reply)
I have a few lines like --
feature 1,
subfeat 0,
type 3,
subtype 1,
value 0,
--
feature 1,
subfeat 0,
type 1,
subtype 1,
value 0,
I would like to concatenate the... (1 Reply)
I am attempting to combine sections of log that should be one line but are spaced out over 10-30 lines due to how the software is outputting the info. (If I am making a newbie mistake I apologize)
Example of log I am working with:
2009-04-14 14:51:22 access data here
info.
Info.
Info.
……..... (4 Replies)
Hello
I have a file in following format:
IV 08:09:07
NM 08:12:01
IC 08:12:00
MN 08:14:20
NM 08:14:15
I need a script to compare time on each line with previous line and show the inconsecutive line. Ex.:
08:12:00
08:14:15
A better way... (6 Replies)
Hello - First post here. I need help combining two lines that are non-consecutive in a file. Using sed, awk or perl preferably. So the file looks as follows. Please note, the "Line#:" is there only for reference. The lines can only be distinguished by whether they have "start" or "done" in... (2 Replies)