|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |