This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: faq: why doesn't tilde expansion work in shell scripts in cygwin?
- From: Dan Kegel <dkegel at ixiacom dot com>
- To: 'Michael A Chase ' <mchase at ix dot netcom dot com>, Dan Kegel <dkegel at ixiacom dot com>, "''cygwin at cygwin dot com' '" <cygwin at cygwin dot com>
- Date: Sat, 24 Aug 2002 20:20:12 -0700
- Subject: RE: faq: why doesn't tilde expansion work in shell scripts in cygwin?
Say, it says in
http://www.opengroup.org/onlinepubs/007904975/utilities/xcu_chap02.html#tag_
02_06_01
and
http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_006_001
that tilde expansion is required. Yet ash claims it is posix compliant.
Hrm. Somebody's wrong somewhere... maybe ash is only compliant to
an outdated posix version?
- Dan
-----Original Message-----
From: Michael A Chase
To: Dan Kegel; 'cygwin@cygwin.com'
Sent: 24.08.2002 19:49
Subject: Re: faq: why doesn't tilde expansion work in shell scripts in
cygwin?
On Sat, 24 Aug 2002 16:01:36 -0700 Dan Kegel <dkegel@ixiacom.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/