X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <21708788.post@talk.nabble.com> References: <21708788 DOT post AT talk DOT nabble DOT com> Date: Thu, 29 Jan 2009 20:27:54 +0000 Message-ID: <2ca21dcc0901291227x7914a883qec476520f09e3235@mail.gmail.com> Subject: Re: Having problems with bash From: Dave Korn To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 syllk wrote: > I am hoping that there is a simple fix to this. I am new to cygwin and tinyos > and when running cygwin it immediately runs with this first line 'bash: [: > /home/Chris: binary operator expected'. With this problem I seem to get > errors whenever I try to 'make' anything. > > If anyone knows how to fix this I would much appreciate it. The simple way to debug Cygwin bash startup problems: 1. Open cmd.exe shell 2. "cd C:\cygwin\bin" or whereever the /bin dir has ended up when you've installed it. 3. "bash --login -i -x" Now bash will print out to the screen all the startup scripts as it executes them. Once you've seen what the failing code is, you can figure out whether it's in /etc/profile or ~/.bashrc or ~/.bash_profile and figure out how to fix it. Are there spaces in your Windows username? cheers, DaveK -- 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/