delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Wed, 1 Sep 2004 15:31:49 -0700 |
From: | Yitzchak Scott-Thoennes <sthoenna AT efn DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Regular Expressions from Bash Shell |
Message-ID: | <20040901223149.GE1012@efn.org> |
References: | <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040901144930 DOT 03492ec8 AT pop DOT prospeed DOT net> <200409011512203 DOT SM01216 AT fasolt> |
Mime-Version: | 1.0 |
In-Reply-To: | <200409011512203.SM01216@fasolt> |
User-Agent: | Mutt/1.4.1i |
Organization: | bs"d |
X-IsSubscribed: | yes |
On Wed, Sep 01, 2004 at 03:09:21PM -0600, Siegfried Heintze wrote: > I want to use grep on all the FORTRAN source code files in the current > directory whose file names do not contain a "_" character. How do I do this? > > I'm using the extension of ".f" to designate FORTRAN. find *.f ! -name '*_*'|xargs grep is how I would do it, but there's probably a better way. (Assuming you have no subdirectories ending with .f) -- 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 |