Hello everyone,
I am programming with grep command in my C/C++ application to steal its string manipulation functions. :-)
I have completed several simple cases. I am meeting issues with two cases, and I am wondering how to represent it in grep.
1. find the lines contain "foo" or "goo";
2. find the lines contain "foo" but no "goo".
could anyone help please?
thanks in advance,
George