This is the mail archive of the
mailing list for the Cygwin project.
RE: faq: why doesn't tilde expansion work in shell scripts in cyg win?
- From: Randall R Schulz <rrschulz at cris dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 24 Aug 2002 21:26:18 -0700
- Subject: RE: faq: why doesn't tilde expansion work in shell scripts in cyg win?
At 21:02 2002-08-24, Dan Kegel wrote:
Aha. I figured it out, and it looks like Cygwin's ash might not be posix
compliant. Tilde expansion is required by Posix; see
Please explain "works from the ash commandline." I can see no circumstance
in which tilde expansion is happening in ash.
Looking at the source for the ash used in Cygwin, it looks like tilde
expansion is disabled! The Makefile.am in
defines SMALL by default, which shuts off tilde expansion. That would
explain my result (though not why tilde works from the ash commandline;
Am I correct? It's a little suprising to find Cygwin doesn't use a
As I understand it, Cygwin includes ash specifically as a very-light-weight
shell for scripting and makefiles. It's small size and minimal feature set
gives it a low start-up time, which helps a lot when many of them get
executed, for example when running make.
Mountain View, CA USA
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html