On Tuesday 13 November 2007 16:05, Chris Arnold wrote:
Randall R Schulz wrote:
You have to fill that part in. Do you know the names of the files? If so, list them in the first section.
Do you have a set of "find" criteria that will produce the target files? If so, use that section.
Do you have a simple shell "glob" (wild-card) expression that will yield the proper targets? If so, use that.
Shouldn't *.php yield the results i need as far as find the 2000 files?
How would I know? You didn't say anything about the files on which you wish to operate. Is the target set all files whose name end in ".php"? If so, then yes. If not, then no.
You didn't give any information about which files to operate on, so obviously I could not make that part of the sample / example script definite.
That is the whole purpose of wanting a script.....I have over 2000 files that need to have the ' inserted into the files. No way am i going to hand type the file names in.
"Files" could be anything. Clearly, I could not write the script to select a set of files the criteria for which remain in your mind. If there's any regularity to the names of the files on which you wish the script to operate, then no, you don't need to type them. But so far, only you know those criteria so only you can write the code that will yield that list. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org