ECN No Name Newsletter: September, 1993

The ECN No Name Newsletter is no longer being published. This is an archived issue.

[previous article] [next article]

NROFF HINT:How To Remove Unwanted Characters

NO NAME NEWSLETTER Article, September 1993

Kent de la Croix


QUESTION: I would like to look through a help file with the editor but using "help xxx >out" puts all the screen gobblydegook in the file. Is there a way to put just the text and not the other underline stuff in the file?

ANSWER: To strip away those unwanted characters run your file through the col(1) command. With your example, type "help xxx | col -b > out" to strip out the underlining and most other escape characters. This is also good for all other nroff generated output. Works with man also (e.g. "man xxx | col -b > out" . Further information can be found by typing "man col" .


webmaster@ecn.purdue.edu
Last modified: Saturday, 13-Sep-97 00:47:20 EST

[HTML Check] HTML