delorie.com/archives/browse.cgi | search |
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 |
From: | "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de> |
To: | <cygwin AT cygwin DOT com> |
Subject: | AW: ash does not understand '~' |
Date: | Fri, 17 Oct 2003 13:15:07 +0200 |
Message-ID: | <JGEMLHPCGMNLEIGOCPMGEECBIGAA.Ralf.Habacker@freenet.de> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
In-Reply-To: | <20031017102823.GP25076@cygbert.vinschen.de> |
Hi > > the following shell script does not work at least with ash-20031007-1 > > although I don't see any reason why this should not be a valid > syntax. If > > you use > > The reason is, '~' is an extension to the bourne shell syntax, first > defined in csh or tcsh, AFAIK. ash is a pure bourne shell with next > to no extensions. Using '~' in a shell script is non-portable. > Thanks, there is always something new to learn :-) Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |