interactive shell mis-parsing 1st two words on line

Tom Rodman cygzs@cygwin.com
Fri Feb 25 21:57:00 GMT 2011


Thanks for all that contribute to cygwin, I use it day in day out,
year after year.
--
After loading bash 4.1.9 recently, I have been getting sporatic
errors in an interactive bash shell. The first word on the
commandline is run w/o any args, next the rest of the line is
run by the shell (2nd word used for command). After such error,
if I !!, or ^R, ie use the history to repeat the command, then
it works. It happens several times per day. (I did not run
rebaseall, will plan to.)
# example: "ssh txr6@somehost" treated like "ssh; txr6@somehost":
 ~ $ ssh txr6@somehost
 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
 [-D [bind_address:]port] [-e escape_char] [-F configfile]
 [-I pkcs11] [-i identity_file]
 [-L [bind_address:]port:host:hostport]
 [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
 [-R [bind_address:]port:host:hostport] [-S ctl_path]
 [-W host:port] [-w local_tun[:remote_tun]]
 [user@]hostname [command]
 bash: txr6@somehost: command not found
 ~ $ ssh txr6@somehost
 Last login: Thu Feb 24 16:32:57 CST 2011 on /dev/pts/5 from 10.237.138.122
 ******************************************************************
 somehost
 Access to this system is limited to authorized users only.
 If you are not an authorized user of --SNIP
--
some basic info:
 ~ $ date;uname -a; cygcheck -c cygwin
 Wed, Feb 23, 2011 8:22:33 PM
 CYGWIN_NT-5.1 neon 1.7.7(0.230/5/3) 2010年08月31日 09:58 i686 Cygwin
 Cygwin Package Information
 Package Version Status
 cygwin 1.7.7-1 OK
 ~ $ echo $BASH_VERSION
 4.1.9(2)-release
 ~ $ date;uname -a; cygcheck -c bash
 Wed, Feb 23, 2011 8:23:06 PM
 CYGWIN_NT-5.1 neon 1.7.7(0.230/5/3) 2010年08月31日 09:58 i686 Cygwin
 Cygwin Package Information
 Package Version Status
 bash 4.1.9-2 OK
This is happening on two XP computers of mine.
--
thanks,
Tom
--
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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /