Variable Substitution

Hi ,

I have a variable as follows,

Temp=`cat ABC.txt | cut -c5-`

This will yeild a part of the date. say , 200912.

I would like to substitute this variable's value in a filename.

eg: File200912F.zip

when i say File$TempF.zip , it is not substituting.

Any help ?

Thanks in advance..

File${Temp}F.zip

Hi, Try this

File${temp}F.zip