This is the mail archive of the
cygwin
mailing list for the Cygwin project.
echo $?
- From: "Maloney, Michael" <mmaloney at rsasecurity dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 28 Jul 2005 12:55:32 -0400
- Subject: echo $?
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/