Which of the followingcommands can help to deal with this problem?

When reading man pages, a lot of extra characters are shown on screen. Which of the following
commands can help to deal with this problem?

When reading man pages, a lot of extra characters are shown on screen. Which of the following
commands can help to deal with this problem?

A.
col

B.
grep

C.
more

D.
pg

E.
row



Leave a Reply 7

Your email address will not be published. Required fields are marked *


Ross Greylock

Ross Greylock

Answer is col I think… from man man last page

networkmanagers

networkmanagers

SYNOPSIS

col [-bfpx ] [-l num ]
DESCRIPTION

Col filters out reverse (and half reverse) line feeds so the output is in the correct order with only forward and half forward line feeds, and replaces white-space characters with tabs where possible. This can be useful in processing the output of nroff(1) and tbl(1).
Col reads from standard input and writes to standard output.
———–
more [-dlfpcsu ] [-num ] [+/ pattern] [+ linenum] [file … ]
DESCRIPTION
More is a filter for paging through text one screenful at a time. This version is especially primitve. Users should realize that less(1) provides more(1) emulation and extensive enhancements.

Nelson

Nelson

There is a same question (I forgot the number) and the answer is col. When I first read the question, my answer is more but I was surprise it was col. Maybe we could check that and update the correct answer.

networkmanagers

networkmanagers

Yes . We updated the correct from your comment . We always listen all comments and fix answers if it not correct . thanks

Eric Hibshman

Eric Hibshman

still incorrect

admin

admin

Yes, this question was updated.
Thanks Eric.

TT

TT

I interpret “extra characters” as “too many characters to fit on one screen”
Col does NOT deal with this problem but cares about reverse line feeds.

“less” or “more” would address this problem though.