From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31473 invoked by alias); 1 May 2014 05:57:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31461 invoked by uid 89); 1 May 2014 05:57:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: Ishtar.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 01 May 2014 05:57:09 +0000 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id s415v1vq074063 for ; Wed, 30 Apr 2014 22:57:05 -0700 Message-ID: <5361E22D.40408@tlinx.org> Date: Thu, 01 May 2014 05:57:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: cygwin-bash compat/regression bug... startup line prob References: <535EBD61.5080109@tlinx.org> <535EC59E.9080602@redhat.com> In-Reply-To: <535EC59E.9080602@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00005.txt.bz2 Eric Blake wrote: > On 04/28/2014 02:43 PM, Linda Walsh wrote: > > >> cat bin/t.sh > > #!/bin/bash -u Um... it doesn't work with 1 argument either. > > This is an invalid shebang line. Historically, you are allowed at most > ONE argument to the program that you will be executing. ?!? Historically?.. since when? Never encountered that problem on linux nor on cygwin. This isn't a case of 2 args, just the "-u" by itself doesn't work. > > Also weird -- the interp line says "/bin/bash" not "/usr/bin/bash" > > as the shell, so why does the error come from /usr/bin/bash? > > the answer to this question. --- ??? This isn't clear to me. If I am running /bin/bash, why did the error message say /usr/bin/bash? -- 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