bug-bash
[Top][All Lists]
Advanced

[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
script:-
[code]
TODAYDATE=`date +"%Y%m%d"`
declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2
$TODAYDATE.TeleformDB2.tar.bz2 )
[/code]
When I run it I get:-
Syntax error: "(" unexpected

-- 
View this message in context: 
http://www.nabble.com/bash-script-error-in-array-definition.-tp23739928p23739928.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

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