Subject: Re: Search string in a file
From: Chad Fowler <chad chadfowler.com>
Date: Wed, 15 Oct 2003 21:24:23 +0900
In-reply-to: *
On Wed, 15 Oct 2003, Panther wrote:
# I must search string in a file ??
# How I must open file in read and search string ??
# What is syntax ??
# Thamk you
#
ruby -ne 'print if /mystring/' filename.txt