delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4D04C14E.90607@gmx.de> |
Date: | Sun, 12 Dec 2010 13:34:22 +0100 |
From: | Matthias Andree <matthias DOT andree AT gmx DOT de> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Executable named "[.exe" in c:\cygwin\bin? |
References: | <AANLkTiktvSMLdZ_1+oDGg9kOVHbhRAX7K_s+c72mUDQe AT mail DOT gmail DOT com> <AANLkTimtxEVwMF-bDWot2OO7pGZ7uz1K5hQEw+H9efPX AT mail DOT gmail DOT com> |
In-Reply-To: | <AANLkTimtxEVwMF-bDWot2OO7pGZ7uz1K5hQEw+H9efPX@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Am 12.12.2010 13:31, schrieb Csaba Raduly: > I guess something like this: > > [ -f file ] && echo is True, but this is bad style. Reason is you cannot run scripts containing this under a "set -e" regime. However, most scripts should be doing that (and set -u is also often advised), so that errors don't go unnoticed. -- Matthias Andree -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |