How do I echo one or more tab characters using a bash script?
When I run this code

res="       "x # res = "\t\tx"
echo '['$res']' # expect [\t\tx]

I get this

res=[ x] # that is [<space>x]

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *