Bob CrandellFri Sep 24 16:15:48 PDT 2004
The for, echo, done snipet echos the contents of each line in mylist.txt. At least it should. All I get is "/mylist.txt to do." without the quotes of course. Russ Johnson (russj at dimstar.net) wrote: > > Bob Crandell wrote: > > >Hi, > > > >I'm trying to process the contents of a text file in a bash script. There is > >a part of this I'm just not getting. > > > >The script: > >USERLIST=/mylist.txt > > > >for NAME in $[USERLIST] ; do > > echo "$NAME to do." > >done > > > What are you wanting to do, and what happens when you do what you are doing? > > Russ > _______________________________________________ > EUGLUG mailing list > euglug at euglug.org > http://www.euglug.org/mailman/listinfo/euglug > > -- Bob Crandell, CNS Assured Computing, Inc. When you need to be sure. http://www.assuredcomp.com/ P.O. Box 40814 Eugene, OR 97404 Voice - 541-868-0331 FAX - 541-463-1627