delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/05/12:30:34

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
Message-ID: <3C0E5991.1070707@cportcorp.com>
Date: Wed, 05 Dec 2001 12:29:53 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: kevin DOT a DOT abram AT accenture DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Scripts
References: <OFBA0144F0 DOT 288D7BEB-ON86256B19 DOT 005E51EC AT accenture DOT com>

Does the script have "#!/bin/bash" at the top? Does it have bash-only 
commands and is possibly being executed by sh? Is the script in your 
path? Have you tried putting "set -x" at the top of the script? Maybe 
include the contents of the script in your post. More information about 
your problem will help more people help you.

HTH,
Peter

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. In Unix this executes the script
>    if the appropriate permissions are set. But nothing happens, I simply
>    get another prompt. Can You think of a reason for
>    this.
> 
> 
> 
> Thanks
> 
> Kevin Abram
> 
> 
> 
> 
> 
> 
> 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/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


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