You can use cat -T or –show-tabs options to display TAB characters as ^I.
1 2 3 4 5 6 7 8 9 10 |
## Add some content with a tab to the file echo -e "here is a\t for your" > myfile ## Display TAB charecters as ^I cat -T myfile ## replaces TAB with ^I ## Returns here is a^I for your ## Without any options cat myfile ## displays TAB ## Returns here is a for your |