delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/24/22:49:53

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 24 Aug 2002 19:49:20 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: faq: why doesn't tilde expansion work in shell scripts in cygwin?
To: Dan Kegel <dkegel AT ixiacom DOT com>, "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Message-ID: <Mahogany-0.64.2-3416-20020824-194920.00@MCHASE-COMPAQ>
MIME-Version: 1.0
References: <15FDCE057B48784C80836803AE3598D53B8856 AT racerx DOT ixiacom DOT com>
In-Reply-To: <15FDCE057B48784C80836803AE3598D53B8856@racerx.ixiacom.com>

On Sat, 24 Aug 2002 16:01:36 -0700 Dan Kegel <dkegel AT ixiacom DOT com> wrote:

> In all my shell scripts, I'm having to replace ~ with $HOME to
> get them to work under Cygwin.  Seems a bit odd.  Am I doing
> something wrong?  This is with a fairly fresh installation
> of Cygwin on Win2K.

Which shell is being invoked for the scripts?  If it is /bin/sh, ash
doesn't do tilde expansion.
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


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