- To: Howard Lowndes <lannet@xxxxxxxxxxxxx>
- Subject: Re: [SLUG] Getting eval to work properly
- From: O Plameras <oscarp@xxxxxxxxxxx>
- Date: Sat, 20 May 2006 10:12:05 +1000
- Cc: SLUG Mail List <slug@xxxxxxxxxxx>
- User-agent: Thunderbird 1.5.0.2 (X11/20060501)
Howard Lowndes wrote:
An example of what I am trying to do:
eval echo -e "\\tGetting files from ${MIRROR_URL[$STARTIDX]}" $LOG_FILE
This should be
eval echo -e $'\t'"Getting files ........" $LOG_FILE
\t certainly doesn't work, but I would have expected \\t to have put a
tab character into the output stream, but it only outputs t
Syntax is,
$'\t' NOT "\\t"
Any suggestions?
Hope this helps.
O Plameras