Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Getting eval to work properly


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