From: Bertram Scharpf Date: 2009-10-12T19:01:37+09:00 Subject: Re: find a print out a line Hi, Am Freitag, 09. Okt 2009, 05:50:04 +0900 schrieb Robert Klemme: > > ruby -ne 'puts $_ if /TestPhase/' The -p option does the puts: ruby -pe '~/TestPhase/ or next' $yourfile Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de