delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/10:05:26

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
Date: Mon, 9 Sep 2002 11:05:11 -0300
From: Joey Bernard <bernard AT caris DOT com>
Message-Id: <200209091405.g89E5BR05133@caris.universal.ca>
To: <cygwin AT cygwin DOT com>
Reply-To: <bernard AT caris DOT com>
Subject: Re: Bug Report: bash-2.05b-4 - xit: command not found
X-Originating-Ip: [198.164.13.3]

What version of bash are you using?  This works fine on my box using 2.05b.  This is on cygwin 1.3.12-4.



-- Original Message --
From: "Jerry D. Hedden" <jdhedden AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Send: 10:57 AM
Subject: Bug Report: bash-2.05b-4 - xit: command not found

The bug is reproducible using the following two scripts:

--- Begin file 1: bug1.sh ---
#!/usr/bin/bash
./bug2.sh
exit
--- End file 1 ---

--- Begin file 2: bug2.sh ---
#!/usr/bin/bash
exit
--- End file 2 ---

Running the first script gives the following:

prompt>  ./bug1.sh
./bug1.sh: line 3: xit: command not found

The 'e' is missing from 'exit'.
If you add an extra blank line to the end of bug1.sh as follows:

--- Begin file 1: bug1.sh ---
#!/usr/bin/bash
./bug2.sh
exit

--- End file 1 ---

You now get the following:

prompt>  ./bug1.sh
./bug1.sh: line 3: it: command not found

Now the 'e' and 'x' are missing.
Another blank line as follows:

--- Begin file 1: bug1.sh ---
#!/usr/bin/bash
./bug2.sh
exit


--- End file 1 ---

You get:

prompt>  ./bug1.sh
./bug1.sh: line 3: t: command not found

Only the 't' is left.  If you add a third black line, you get no
error most likely because all the letters in 'exit' have been 'eaten'.






--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019