faq: why doesn't tilde expansion work in shell scripts in cygwin?
Michael A Chase
mchase@ix.netcom.com
Sat Aug 24 19:49:00 GMT 2002
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/
More information about the Cygwin
mailing list