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: [Possible BUG] VIM and execution of external commands whichaccept filename as parameter


/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/


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