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
2 Comments on “Which of the following commands converts spaces in a fi…”
JulesVernesays:
EXPAND not UNEXPAND
0
7
micormatsays:
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.
…
EXPAND not UNEXPAND
0
7
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.
…
10
0