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 Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Andrew DeFaria <ADeFaria AT Salira DOT com> Newsgroups: gmane.os.cygwin Subject: Incorrect expression evaluation? Date: Wed, 13 Mar 2002 15:29:33 -0800 Lines: 16 Message-ID: <3C8FE0DD.6000009@Salira.com> NNTP-Posting-Host: 206.184.204.2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1016062171 11597 206.184.204.2 (13 Mar 2002 23:29:31 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Wed, 13 Mar 2002 23:29:31 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us Perhaps this is more of a bash problem than a Cygwin problem however Cygwin's bash is not acting like bash on Solaris. In Cygwin's bash: $ x="-l -d" $ ls $x ls: invalid option -- Try `ls --help' for more information. Now on Solaris (also running bash): $ x="-l -d" $ ls $x drwxr-xr-x 4 adefaria other 512 Feb 22 15:13 ./ What gives? -- 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/