In article <[EMAIL PROTECTED]>, Kent West <[EMAIL PROTECTED]> wrote: >>> On Fri, Aug 20, 2004 at 09:46:52PM -0500, Kent West wrote: >>>> How can I test to see if the word "tuber" is in the /etc/passwd >>>> file, reliably, and take an action if it is, and take a different >>>> action if it's not, in a bash shell script? > >How do I test to make sure the name is in two files? Like so?
At this point, I suggest you start studying shell script programming. Get a book, or read one of the many online tutorials such as http://www.tldp.org/LDP/abs/html/ Mike. -- The question is, what is a "manamanap". The question is, who cares ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]