[Possible BUG] VIM and execution of external commands which accept filename as parameter

Luke Bakken luke_bakken@yahoo.com
Mon Mar 4 08:27:00 GMT 2002


/bin/sh on Cygwin doesn't understand the ~ character. It's a rather
limited shell.
try this:
:set shell=/bin/bash

Luke
On Mon, 4 Mar 2002, Pavel Tsekov wrote:
> Hey, there! :)
>> I have noticed the following behaviour of VIM and thought it is worth
> reporting it to the list. Trying to execute an external command from
> vim and passing it a file name parameter from my home directory using
> the tilde character fails:
>> sha1sum: ~/gdbtk.ini: No such file or directory
>> shell returned 1
>> Hit ENTER or type command to continue
>> The output above is generated from the following vim command:
> ":!sha1sum.exe ~/gdbtk.ini". The same command on linux yields the
> right result.
>> Actually I'll investigate/debug this further this night (maybe) but if
> someone knows more on this issue, feel free to speak :)
>>> --
> 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/
>
--
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /