O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

colcrt

[-] [-2] [file …]

This command is a hack to display underlines, tables, and other half-line intensive output on terminals that can't display underlines. It works by double-spacing the output and putting dashes on the empty line beneath the word that is to be underlined.

Example: Colcrt might be used to display the tbl.n table file as follows:

tbl tbl.n | nroff -ms | colcrt - | less

- Do not underline. Typically used in displaying tables.
-2 Print all half-lines whether they're empty or not. (Leads to a uniform appearance, but eats up space.)

eqn

[ -rvCNR ] [ -dcc ] [ -Tname ] [ -Mdir ] [ -fF ] [ -sn] [ -pn ] [ -mn ] [ files… ]

eqn is used in conjunction with troff to compile equation descriptions into troff format.

Example: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required