delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <ca5781c80707160750i7661f130vcc391818b3fb23d7@mail.gmail.com> |
Date: | Mon, 16 Jul 2007 10:50:11 -0400 |
From: | "Yitzchok Good" <anexpert AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: grep -f problem |
In-Reply-To: | <8834A84C87A2C148AD46921BB8BFC97C047997EF@S1SE1MAIL.emea1.ad.group> |
MIME-Version: | 1.0 |
References: | <8834A84C87A2C148AD46921BB8BFC97C047997EF AT S1SE1MAIL DOT emea1 DOT ad DOT group> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On CygWin: $ echo -e "calvin\nhobbes">a $ echo -e "calvin chased\nblah blah\nhobbes">b $ grep -f a b calvin chased hobbes #!sh echo -e "calvin\nhobbes" > expressions.txt echo -e "calvin chases\nhis favourite imaginary friend\nhobbes" > text.txt grep -f expressions.txt text.txt $ ./a.sh calvin chases hobbes -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |