Nope. That's not how the "for" command works. The original's right.
Peter On Tue, 2006-03-21 at 05:30 +0000, Javan B. wrote: > Hi, > > You seem to be missing a dollar sign: > > --- > > Change: "for source in $SOURCES; do" > > To: "for $source in $SOURCES; do" > > --- > > Without the quotes, of course. > > > --- Ahmed Ndaula <[EMAIL PROTECTED]> wrote: > > > >> echo "Verifying Sources..." > > >> for source in $SOURCES; do > > >> echo "Checking $source..." > > >> if [ ! -x $source ]; then > > >> echo "Error with $source!" > > >> echo "Directory either does not exist, or > > you do not have proper > > >> permissions." > > >> exit 2 > > >> fi > > >> done > > >> > > >> I am eagerly waiting your assistance. > > >> > > > ------------------------ > Said about Isaac Newton: “There goes the man that writt a book that neither > he nor anybody else understands.” > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any way. > --------------------------------------- > ----------------------- Random verse of the day: Hitherto have ye asked nothing in my name: ask, and ye shall receive, that your joy may be full. -- John 16:24 _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
