On Tue, Jan 21, 2003 at 07:48:27PM -0500, Pete Emerson <[EMAIL PROTECTED]> wrote: > You were going for the contents of $file1, correct?
Correct. > > Here's my stab. Read in the target files first, then match. > When it walks through the source file, it will print out the name of all > target files that match. > I tried your program, it ran for a couple of minutes then exited cleanly but without giving me any info. The program just returned to the shell prompt. Maybe I wasn't clear enough in my original post. The input file contains only a domainname on each line. What I didn't specify however was that the 3 target files are BIND8 named.conf style files. The input file only contains lines like: foo.com But the target file(s) look like this: (example specified is just an example) zone "foo.com" { type master; file "pri/foo.com"; }; So, the string is in 1 of the 3 target files, but, unfortunately, your program didn't match the string from the input file. Fenx again. Gr, -- Marco van Lienen <[EMAIL PROTECTED]> GPG:0x8580E6CB Available on keyservers. We are BitchX of Borg. You will be assimilated. Using mIRC is futile S@H:6558WU/11.067yr --> setiathome.ssl.berkeley.edu Put those CPU cycles to use! Why did it happen ? BOFH Excuse: new management -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]