This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]