I’d like to use sed to remove tabs from otherwise blank lines. For example a line containing only \t\n should change to \n. What’s the syntax for this?
I’d like to use sed to remove tabs from otherwise blank lines. For example
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
seddoes not know about escape sequences like\t. So you will have to literally type atabon your console:If you are on bash, then you can’t type
tabon the console. You will have to do^Vand then presstab. (Ctrl-Vand thentab) to print a literal tab.