MCQs > IT & Programming > Perl > How do I replace every TAB character in a file with a comma?

Perl MCQs

How do I replace every TAB character in a file with a comma?

Answer

Correct Answer: perl -pi.bak -e 's/\t/,/g' myfile.txt

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it