When starting a login shell using the current release of Cygwin, I get the error:
bash: [: too many arguments I tracked this down to my group name having a space in it ("Domain Users"). Fix for /etc/profile is below. - Pat Date: 20 Aug 2003 14:56:24 -0400 Message-ID: <[EMAIL PROTECTED]> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- /etc/profile.orig 2003-08-20 14:52:09.000000000 -0400 +++ /etc/profile 2003-08-20 14:52:51.000000000 -0400 @@ -137,7 +137,7 @@ # a mistake (ie, don't email about it!), comment the # test out below. groupID=`id -ng` -if [ "mkpasswd" == ${groupID} -o "mkgroup" == ${groupID} -o "mkgroup_l_d" == ${groupID} ]; then +if [ "mkpasswd" == "${groupID}" -o "mkgroup" == "${groupID}" -o "mkgroup_l_d" == "${groupID}" ]; then echo "Your username or group hasn't been setup correctly." echo " This typically happens if you are a domain user" echo " (cygwin does not automatically create /etc/passwd or" -- 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/