X-Spam-Check-By: sourceware.org Message-ID: <5284068.post@talk.nabble.com> Date: Wed, 12 Jul 2006 00:22:41 -0700 (PDT) From: prz To: cygwin@cygwin.com Subject: grep and words MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: Guy.Przytula@riziv.fgov.be X-Nabble-From: prz X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com another question from newbie .. is it possible with grep to select only the rows where the second word applies, because the pattern can occur at different places like : row 1 : xxxx yyyy zzz row 2 : yyyy xxxx zzz I need only the row where word 2 = yyyy grep yyyy would also return row 2 Thanks for all info Best Regards, Guy Przytula -- View this message in context: http://www.nabble.com/grep-and-words-tf1929391.html#a5284068 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/