X-Spam-Check-By: sourceware.org Message-ID: <11866789.post@talk.nabble.com> Date: Mon, 30 Jul 2007 10:07:46 -0700 (PDT) From: zip184 To: cygwin AT cygwin DOT com Subject: Simple shell script not working MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: btillinghast AT profittools DOT net X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 This is the 2-line shell script I'm trying to run: #! /bin/sh touch test.txt The privledges are set to 777 I get the error output line: " bash: $'\r': command not found " for each command I put in the script, including cd, touch, ls, etc. Echo is the only one that works for some reason. Anybody have any ideas on how to fix this? -- View this message in context: http://www.nabble.com/Simple-shell-script-not-working-tf4171206.html#a11866789 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/