On Mon, Aug 19, 2013 at 05:18:40PM -0500, Bill Oliver wrote:
> 
> # Filename format YYYY_MM_DD--HHMM.zip
> filename="$log_year-$log_month-$log_day--*.zip"
> 
> filelist=`ls $filename`

Please don't do this.  A much better solution is:

filelist=($log_year-$log_month-$log_day--*.zip)

See: <http://mywiki.wooledge.org/ParsingLs>

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to