Sponsored Content
Top Forums Shell Programming and Scripting Cut the final line of each sorted value Post 302759847 by srinivas matta on Wednesday 23rd of January 2013 02:18:23 AM
Old 01-23-2013
Anshaa,

what was the logic behind your output. How did you separate those output lines. then only we can help to you.
 
colcrt(1)						      General Commands Manual							 colcrt(1)

NAME
colcrt - Filters text processor output for screen previewing SYNOPSIS
colcrt [- -2] [file...] The colcrt command filters output from text processors such as nroff so that it can be previewed on a cathode ray tube (CRT). OPTIONS
Suppresses underlining; this is useful for previewing boxed tables from tbl. Causes all half-lines to be printed, effectively doublespac- ing the output. This is useful when printing output with subscripts and superscripts on a line printer, where half-lines do not normally appear. DESCRIPTION
The colcrt command provides virtual half-linefeed and reverse linefeed sequences for terminals without such capability, and on which over- striking is destructive. The colcrt command changes underline characters to dashes and places them and half-line characters on new lines in between the normal output lines. NOTES
colcrt cannot back up more than 102 lines. General overstriking is lost; as a special case a | (vertical bar) overstruck with a - (dash) or _ (underline) becomes a + (plus sign). Lines are trimmed to 132 bytes. EXAMPLES
The following command line illustrates a typical use of colcrt: tbl exum2.n | nroff -ms | colcrt - | more SEE ALSO
Commands: col(1), deroff(1), more(1), neqn(1), nroff(1), pg(1), tbl(1), ul(1) colcrt(1)
All times are GMT -4. The time now is 12:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy