X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 12 Dec 2010 08:14:04 +0000 Message-ID: Subject: Re: Suspicious EXE named .exe in c:\cygwin\bin? From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 12 December 2010 05:01, Jeffrey Walton wrote: > The executable name is suspicious at best. Attempting to search > http://cygwin.com/packages/ results in an error "Invalid regular > expression search string: `.exe`". Quotes, double quotes, and back > ticks do not help during the search. > > What is this program supposed to do? It's a synonym for the 'test' program for evaluating conditional expressions, which allows stuff like this: if [ $FOO = bar ]; then ... The '[' in there invokes '[.exe'. Well, except that any shell that cares about performance has a builtin for this to avoid forking a new process for every conditional. See also 'man test'. Andy -- 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