[ale] expanding $(echo -e "$word\t$word")

David S. Jackson deepbsd at earthlink.net
Sat Jan 26 02:32:44 EST 2002


When I go line=`echo -e $word"\t"$word`; echo $line I only get a
single space for the \t.  I've tried the following to no avail:

line=$(echo -e $word"\t"$word)
line=`echo -e "$word\t$word"`
line=`echo -e $word"\t"$word`

and they all expand to only one space.  I want the \t to expand
to a full tab space.  What am I doing wrong?  (Using bash 2.x).

TIA.

-- 
David S. Jackson                        dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I'd never join any club that would have the likes of
me as a member.  -- Groucho Marx

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list