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 AT cygwin DOT com Subject: grep and words MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: Guy DOT Przytula AT riziv DOT fgov DOT be X-Nabble-From: prz X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/