I wanted to create a file in my bash script using cat containing a TAB Char. However I couldn't manage to get it working. Here my tests:
Using plain tab:
cat >file.txt <<END
Text after plain tab.
END
Result:
Text after plain tab.
Using ^I:
cat >file.txt <<END
^IText after escaped I.
END
Result:
^IText after escaped I.
Using \033I:
cat >file.txt <<END
\033IText after another escaped I.
END
Result:
\033IText after another escaped I.
Thanks in advance :-)