Re: bash script error in array definition.

2009-05-29 Thread straygrey
Greg Wooledge wrote: > > On Wed, May 27, 2009 at 03:33:10AM -0700, straygrey wrote: >> Please tell me what is wrong with the following line that I have in a >> bash >> script:- >> [code] >> TODAYDATE=`date +"%Y%m%d"` >> declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2 >> $TODAYDATE.TeleformDB2.

Re: bash script error in array definition.

2009-05-29 Thread Alf Stockton
Greg Wooledge wrote: On Wed, May 27, 2009 at 03:33:10AM -0700, straygrey wrote: Please tell me what is wrong with the following line that I have in a bash script:- [code] TODAYDATE=`date +"%Y%m%d"` declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2 $TODAYDATE.TeleformDB2.tar.bz2 ) [/code] When I r

Re: bash script error in array definition.

2009-05-27 Thread Greg Wooledge
On Wed, May 27, 2009 at 03:33:10AM -0700, straygrey wrote: > Please tell me what is wrong with the following line that I have in a bash > script:- > [code] > TODAYDATE=`date +"%Y%m%d"` > declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2 > $TODAYDATE.TeleformDB2.tar.bz2 ) > [/code] > When I run it I