ExamGecko
Question list
Search
Search

Question 92 - 101-500 discussion

Report
Export

Which of the following commands will reduce all consecutive spaces down to a single space?

A.
tr '\s' ' ' < a.txt > b.txt
Answers
A.
tr '\s' ' ' < a.txt > b.txt
B.
tr -c ' ' < a.txt > b.txt
Answers
B.
tr -c ' ' < a.txt > b.txt
C.
tr -d ' ' < a.txt > b.txt
Answers
C.
tr -d ' ' < a.txt > b.txt
D.
tr -r ' ' '\n' < a.txt > b.txt
Answers
D.
tr -r ' ' '\n' < a.txt > b.txt
E.
tr -s ' ' < a.txt > b.txt
Answers
E.
tr -s ' ' < a.txt > b.txt
Suggested answer: E
asked 18/09/2024
Aline Oliveira
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first