delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/21:16:17

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
Message-ID: <3E8CEA95.5090108@itee.uq.edu.au>
Date: Fri, 04 Apr 2003 12:14:45 +1000
From: John Williams <jwilliams AT itee DOT uq DOT edu DOT au>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: cygwin AT cygwin DOT com
Subject: Re: Binary patch tool?
References: <3E8CCA9C DOT 9010502 AT itee DOT uq DOT edu DOT au> <Pine DOT GSO DOT 4 DOT 44 DOT 0304032100030 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0304032100030.21921-100000@slinky.cs.nyu.edu>
X-Spam-Checked: This message probably not SPAM
X-Spam-Score: -1.8
X-Spam-Tests: IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG
X-Spam-Report: SPAM: -1.80 hits, 8 required;
SPAM: * -0.8 -- Found a In-Reply-To header
SPAM: * -0.6 -- User-Agent header indicates a non-spam MUA (Mozilla)
SPAM: * -0.5 -- Has a valid-looking References header
SPAM: * -0.5 -- Found a User-Agent header
SPAM: * -0.2 -- Found a X-Accept-Language header
SPAM: * 0.8 -- BODY: Spam phrases score is 00 to 01 (low)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)

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/

- Raw text -


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