QuestionQ26Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich of these commands reduces every run of consecutive spaces to a single space?Atr '\s' ' ' < a.txt > b.txtBtr -c ' ' < a.txt > b.txtCtr -d ' ' < a.txt > b.txtDtr -r ' ' '\n' < a.txt > b.txtEtr -s ' ' < a.txt > b.txtShow AnswerAnswerExplanationThe tr -s ' ' command squeezes repeated space characters, replacing each consecutive run of spaces with one space.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion