euglug.org

[Eug-lug] Text file

작성자

카테고리:



Russ JohnsonFri Sep 24 14:11:41 PDT 2004

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