Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

colcrt(1) [bsd man page]

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
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cutting n consecutive lines from a file...

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)
Discussion started by: Vishnu
2 Replies

2. Shell Programming and Scripting

Need output in different lines not in one single line

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)
Discussion started by: csaha
1 Replies

3. Shell Programming and Scripting

How to remove all lines with something other than numbers

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)
Discussion started by: Juha
2 Replies

4. Shell Programming and Scripting

remove first line

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)
Discussion started by: melanie_pfefer
1 Replies

5. UNIX Desktop Questions & Answers

How to concatenate consecutive lines

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)
Discussion started by: shivi707
1 Replies

6. Shell Programming and Scripting

Gawk combining lines unexpectedly

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)
Discussion started by: demanche
4 Replies

7. Shell Programming and Scripting

Find time difference between two consecutive lines in same file.

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)
Discussion started by: vilibit
6 Replies

8. Shell Programming and Scripting

Merge two non-consecutive lines

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)
Discussion started by: munkee
2 Replies