This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binary patch tool?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]