Bob CrandellFri Sep 24 16:18:49 PDT 2004
NOW THAT'S WHAT I'M TALKING ABOUT! Sorry. Bob Miller (kbob at jogger-egg.com) wrote: > > Bob Crandell wrote: > > > The script: > > USERLIST=/mylist.txt > > > > for NAME in $[USERLIST] ; do > > echo "$NAME to do." > > done > > > > BTW thanks for all the help that flows through this list. > > You need to use the contents of mylist.txt, not the name. > Change the first line to this. > > USERLIST="`cat /mylist.txt`" > > Those are backquotes inside double quotes. > > Or use the neologism $(...) like this. > > USERLIST="$(cat /mylist.txt)" > > 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