Which of the following commands converts spaces in a file to tab characters and prints the
result to standard output?
A.
iconv
B.
expand
C.
unexpand
D.
tab
Which of the following commands converts spaces in a file to tab characters and prints the
result to standard output?
Which of the following commands converts spaces in a file to tab characters and prints the
result to standard output?
A.
iconv
B.
expand
C.
unexpand
D.
tab
EXPAND not UNEXPAND
THE ANSWER IS TRUE, is UNEXPAND acording to –help:
# unexpand –help
Usage: unexpand [OPTION]… [FILE]…
Convert blanks in each FILE to tabs, writing to standard output.
…
# expand –help
Usage: expand [OPTION]… [FILE]…
Convert tabs in each FILE to spaces, writing to standard output.
…