Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: John Williams <jwilliams@itee.uq.edu.au>
Subject: Re: Binary patch tool?
Date: Fri, 04 Apr 2003 12:14:45 +1000
Lines: 19
Message-ID: <3E8CEA95.5090108@itee.uq.edu.au>
References: <3E8CCA9C.9010502@itee.uq.edu.au> <Pine.GSO.4.44.0304032100030.21921-100000@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
In-Reply-To: <Pine.GSO.4.44.0304032100030.21921-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:
>>Is there a way I can pass these on the command line, without needing a
>>seperate little script file like this?
>>
> 
> Sure.  The easiest for you would probably be
> 
> vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f

> Ain't vim grand? ;-)

Indeed.  But not just vim, the whole thing.  I guess the goal of a true 
hacker is to accomplish everything on a single command line.  It begs 
the question, is there anything that *can't* be done in a single Un*x 
command line?! :)

John




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

