delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/05/17:50:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 5 Dec 2001 14:49:19 -0800 (PST)
From: Collin M Grady <cgrady AT willamette DOT edu>
X-Sender: cgrady AT hudson
To: kevin DOT a DOT abram AT accenture DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Bash Scripts
In-Reply-To: <OFC8666062.09C21E16-ON86256B19.00766D1B@accenture.com>
Message-ID: <Pine.GSO.4.21.0112051448040.29432-100000@hudson>
MIME-Version: 1.0

	The script should start #!/bin/bash, not !#/bin/bash ;-)
-Collin

On Wed, 5 Dec 2001 kevin DOT a DOT abram AT accenture DOT com wrote:

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019