hypernatic.net
04-05-2002, 03:01 PM
Okay,
I have a script who changes lines in a specific file.
For instance, it finds the line "Hello World!" it changes it to "Hello Planet!"
This is only done when I specify the $file... So it's not a "change all files in a directory" kind of thing...
HOW do I make it that way? So that it does an "ls -a" and starts with file1, then file2, etc etc...
HOW? :D
I have a script who changes lines in a specific file.
For instance, it finds the line "Hello World!" it changes it to "Hello Planet!"
This is only done when I specify the $file... So it's not a "change all files in a directory" kind of thing...
HOW do I make it that way? So that it does an "ls -a" and starts with file1, then file2, etc etc...
HOW? :D
