Jan 162010
How to convert tab into spaces?
Answer:
You can use the expand command
# expand test.txt
Another example:
# echo -e "\tA" | expand | sed 's/ /F/g'
FFFFFFFFA
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to convert tab into spaces?
Answer:
You can use the expand command
# expand test.txt
Another example:
# echo -e "\tA" | expand | sed 's/ /F/g'
FFFFFFFFA