[K12OSN] Scripting help...how to read lines from a text file

David Trask dtrask at vcsvikings.org
Tue Oct 4 19:11:18 UTC 2005


Awesome!  It works!  Thanks!

"Support list for opensource software in schools." <k12osn at redhat.com> on
Tue Oct  4 2005 at 14:55 +0000 wrote:
>If you call the script stopthem, and your text file with the list of
>names is called 
>list.txt, then you call it this way:
>
>./stopthem list.txt
>
>Within the script, $1 is the first command line parameter, in this case,
>the file you're 
>parsing.


David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcsvikings.org
(207)923-3100




More information about the K12OSN mailing list