[KLUG Members] Shell scripts

Robert G. Brown members@kalamazoolinux.org
Mon, 24 Nov 2003 16:00:29 -0500


On Mon, 24 Nov 2003 15:52:40 -0500, "Jeremy Leonard" <lists@elite4god.com> wrote:

>I want to replace test in about 200 files....
text (I'm assuming)
>I can do everything except iterate on each file.....
for name in list-of-files ; do something ; done

list-of-files is
String out the file names ... like more larry curly welby.doc 
or
and expression in `'s that will list them, like:
for `cat file-listing-files` ; do ...

something is the command (or commands, separated by ;'s, that you want to 
run...

Hope this helps!
							Regards,
							---> RGB <---