[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash script error in array definition.

From: straygrey
Subject: bash script error in array definition.
Date: Wed, 27 May 2009 03:33:10 -0700 (PDT)

Please tell me what is wrong with the following line that I have in a bash
TODAYDATE=`date +"%Y%m%d"`
declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2
$TODAYDATE.TeleformDB2.tar.bz2 )
When I run it I get:-
Syntax error: "(" unexpected

View this message in context: 
Sent from the Gnu - Bash mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]