Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Message-Id: <6.0.1.1.0.20040219214256.039adb98@127.0.0.1> X-Sender: Date: Thu, 19 Feb 2004 21:55:22 -0500 To: Reini Urban , Cygwin List From: Larry Hall Subject: Re: search and replace tool In-Reply-To: <40354B21.6040802@x-ray.at> References: <291592011 DOT 20040218205953 AT thequod DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040218151724 DOT 0398d488 AT 127 DOT 0 DOT 0 DOT 1> <40354B21 DOT 6040802 AT x-ray DOT at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:47 PM 2/19/2004, Reini Urban you wrote: >Larry Hall schrieb: >>At 02:59 PM 2/18/2004, dAniel hAhler you wrote: >>>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. > >But fixing perl's long-standing inability to do direct inline editing via perl -i would be cygwin specific. >Anyone investigated this lately? Huh. Interesting way to open a new subject. Since the text you quoted above makes absolutely no mention whatsoever about Perl but later responses to this thread do, I'm going to assume that you at least read further along, saw the subsequent suggestions about using Perl for the above, and then decided to reply to my post, which doesn't mention Perl, bringing up the new topic of how -i does or doesn't work with Cygwin's Perl. I guess this just goes to show there are a thousand different ways to look at things. I never would have imagined this would seem like a straight line to anyone. Anyway, as mentioned later in the thread, the problem is the implied semantics of "unlink()" which isn't supported by the Windows API. So this long-standing inability for Perl is likely to remain for the foreseeable future AFAICS. This list prefers that you start new threads for new subjects, just for future reference. -- 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/