
The ECN No Name Newsletter is no longer being published. This is an archived issue.
[previous article] [next article]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" .