Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <007001c17de2$0c0ddac0$48a80241@glstnbry1.ct.home.com>
From: "MarK Stucky" <mstucky5@home.com>
To: <cygwin@cygwin.com>, <kevin.a.abram@accenture.com>
References: <OFC8666062.09C21E16-ON86256B19.00766D1B@accenture.com>
Subject: Re: Bash Scripts
Date: Wed, 5 Dec 2001 18:10:35 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200

As someone has already pointed out
"!#/bin/bash" should be "#!/bin/bash".

It looks like your problem is that your
script is named "test".  Try typing

    ./test

and then try

    man test

--Mark

----- Original Message -----
From: <kevin.a.abram@accenture.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, December 05, 2001 4:41 PM
Subject: Bash Scripts


> Cygwin developers,
> >
> >    I am running cygwin on a NT box.  I am trying to create a script
which
> >    will rcp files in a directory from one host to another.
> >    After inserting the appropriate commands, I return to the prompt
and
> >    type the file name. But nothing happens, I simply
> >    get another prompt. Can You think of a reason for
> >    this.
> >
>      The script contains the following
>
>
>      !#/bin/bash
>
>      rcp f:/clarify/*.txt 155.201.191.102:/mydir
>
>
>      permissions on script are;
>
>      -rwxr-xr-x 1 abramk None 44 Dec 3 15:33 test
>
>
>
> Thanks
>
> Kevin
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you
have
> received it in error, please notify the sender immediately and delete
the
> original.  Any other use of the email by you is prohibited.
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

