Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: echo $? Date: Thu, 28 Jul 2005 12:55:32 -0400 Message-ID: <017630AA6DF2DF4EBC1DD4454F8EE29705C1241C@rsana-ex-hq1.NA.RSA.NET> From: "Maloney, Michael" To: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6SGu6Xa030419 I am trying to get my current expect scripts to run with the latest cygwin but am having problems with the cmd-prompt after issuing the command above. After the "echo $?", the expected prompt is returned but with white space before it. I've never seen this before on Windows or Unix. Example: $ echo $? 0 $ The prompt($) has a space before it which is making Expect not recognize it because my script is expecting just "$ " and not " $ ". CYGWIN_NT-5.1 POPCORN 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin Any help??? Thanks, Mike -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/