X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0	tests=BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: Why won't my .sh file work with cygwin?
Date: Wed, 4 Jul 2012 12:04:01 +0200
Lines: 17
Message-ID: <jt14eh$u3a$1@dough.gmane.org>
References: <34111361.post@talk.nabble.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT))
> 
> I am new to Cygwin but I understand it does it's best to simulate a
> linux terminal.

No. "Cygwin is: a collection of tools which provide a Linux look and 
feel environment for Windows." http://cygwin.com/
 
> I want to make a little program and I have written out the entire code and
> saved it as a ".sh" file.
> 
> I have paired my Windows computer to open .sh files with Cygwin's mintty.exe
> (terminal)

You are confusing a terminal (like Mintty) with a shell (like bash).

Thorsten


--
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

