Karyn Williams wrote:
> I need to check for strings in a file. An example would be checking for a
> username in /etc/passwd or /var/log/maillog. The string is in another
> file, sometimes a single field on a line by itself, sometimes in a line
> with other strings. Based on what I have seen online
I need to check for strings in a file. An example would be checking for a
username in /etc/passwd or /var/log/maillog. The string is in another file,
sometimes a single field on a line by itself, sometimes in a line with
other strings. Based on what I have seen online and what I have done in
other