shell script that read each line separatly
I would like to write a shell script that reads a text-file, reading out each line separatly in order to use each line as argument.
The Problem is that I do not know how to read each line separatly.
My file has user's names:
and I would like to write a script that reads the 1st line and uses bob as argument, then the 2nd line and uses it as argument for the same command, and so on.
I would really appreciate any help.