|
Leading spaces of variable removed
Code:
#!/bin/bash
TESTVAR=" 5spaces"
echo $TESTVAR
Code:
hostame:~# ./test.sh
5spaces
The leading spaces from my variable are removed when the content is echo'd. I am trying to make some tabular data.
`echo -e` also fails.
Any suggestions?
|