delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/04/11:35:57

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
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: ics-server.interface-net.com: lbakken owned process doing -bs
Date: Mon, 4 Mar 2002 08:19:29 -0800 (PST)
From: Luke Bakken <luke_bakken AT yahoo DOT com>
X-X-Sender: lbakken AT ics-server DOT interface-net DOT com
Reply-To: luke_bakken AT yahoo DOT com
To: Pavel Tsekov <cygwin AT cygwin DOT com>
Subject: Re: [Possible BUG] VIM and execution of external commands which
accept filename as parameter
In-Reply-To: <1508111994.20020304113018@syntrex.com>
Message-ID: <Pine.BSO.4.44.0203040817260.22437-100000@ics-server.interface-net.com>
MIME-Version: 1.0

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

- Raw text -


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