bash 3.2.9, constructing array references with indirect expansion

2007-09-05 Thread Misfortunado Farmbuyer
I've been staring at Chet's message in http://www.mail-archive.com/bug-bash@gnu.org/msg01545.html for a while, and now I understand why my own script (doing something similar) was not originally working. What I can't quite figure is what to change. I'm source'ing a series of assignments of the fo

RE: script using file dates

2007-09-05 Thread marquis
TMP=`ls -Aa` ; for x in $TMP ; do echo -n "$x - " ; stat $x | tac | head -1 ; echo "" ; done > I'm looking for an exisiting script, or a command to help w/ processing > files > by date. I have a test website and need to upload only the files that > have > been changed since the last upload. I'm

bash root ~/.bash_profile quirk

2007-09-05 Thread asherwolf
I have the following in my root ~/.bash_profile: PATH=$PATH:$HOME/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6/lib:/usr/local/apr/lib:/usr/lib/httpd/modules LD_RUN_PATH=$LD_RUN_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6/lib:/usr/local/apr/lib:/usr/lib/httpd/mod