delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/18/15:30:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040218151724.0398d488@127.0.0.1>
X-Sender:
Date: Wed, 18 Feb 2004 15:25:44 -0500
To: dAniel hAhler <cygwin AT thequod DOT de>, cygwin-list <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: search and replace tool
In-Reply-To: <291592011.20040218205953@thequod.de>
References: <291592011 DOT 20040218205953 AT thequod DOT de>
Mime-Version: 1.0

At 02:59 PM 2/18/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>I'm looking for a search and replace tool to replace a text portion in
>a bunch (3500+) of files.
>
>That should be an easy one.. :)
>
>


This isn't really Cywgin-specific.  As a result, it's off-topic for this 
list.  I will, however, point you in one direction that could help.  'sed' 
or 'awk' are good possibilities here.  Of course, you'd want to wrap
these in a script that created a new file and then replaced the original 
with the result.  This same process could be used on any platform that
supports these tools however so talking much about the details isn't really
appropriate.  There's plenty of information on the net about these utilities
if you're interested in finding out more about how they work.

HTH,


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019