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

Which of the following commands will reduce all consecutive spaces down to a single space?
A . tr ‘s’ ‘ ‘ < a.txt > b.txt
B . tr -c ‘ ‘ < a.txt > b.txt
C . tr -d ‘ ‘ < a.txt > b.txt
D . tr -r ‘ ‘ ‘
‘ < a.txt > b.txt
E . tr -s ‘ ‘ < a.txt > b.txt

Answer: E

Latest LFCS Dumps Valid Version with 260 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments