Re: [SLUG] Getting eval to work properly

2006-05-20 Thread Peter Chubb
> "Howard" == Howard Lowndes <[EMAIL PROTECTED]> writes: Howard> An example of what I am trying to do: eval echo -e "\\tGetting Howard> files from ${MIRROR_URL[$STARTIDX]}" $LOG_FILE Howard> \t certainly doesn't work, but I would have expected \\t to Howard> have put a tab character into the

Re: [SLUG] Getting eval to work properly

2006-05-19 Thread Matthew Hannigan
On Sat, May 20, 2006 at 06:57:16AM +1000, Howard Lowndes wrote: > An example of what I am trying to do: > > eval echo -e "\\tGetting files from ${MIRROR_URL[$STARTIDX]}" $LOG_FILE I don't know what you're trying to do with eval and the bare $LOG_FILE thing here, but I'd use just printf:

Re: [SLUG] Getting eval to work properly

2006-05-19 Thread O Plameras
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 th

[SLUG] Getting eval to work properly

2006-05-19 Thread Howard Lowndes
An example of what I am trying to do: eval echo -e "\\tGetting files from ${MIRROR_URL[$STARTIDX]}" $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 Any suggestions? -- Howard. LANNet Computing Associ