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/



Reply via email to