delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=TDidL+kpLX6pAcgD | |
ToZzpd5P7lKf0dgmlc59XdC7yzkjMos9R7h6PyIiuimNM86lZ/WVYJgxq/xVt/sT | |
rRZngYT/WFvN0/WV784ZlZH7eKW8omEq5dcb5YuNt2IRNpFY3y5bsVVV4thgR+14 | |
dsCf4TJyegPfpz8LLR3J2DytLxk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=NgeEqnKWMnvm9oyJC9I1rD | |
cVP3g=; b=AozAJ1Zo+WcvWFwvEfAh7ZrwSr6npWAkKQf+rqKrKsyUHBUeX16CJc | |
jlNzevir6Lx4lIlgDh4jqIEuEa/uPfi9/dGaZVP+r5LtWZWR13Y5GoL7X5ce2XEZ | |
InNUzhE+xGU5DEygtHwdE1x48m2wwCoHq+iGRE/Y2DcMdZu+vFt+g= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 |
X-HELO: | vms173023pub.verizon.net |
Message-id: | <52E97515.7030106@cygwin.com> |
Date: | Wed, 29 Jan 2014 16:39:33 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Exploring the idea of going from MKS tooklt to Cygwin |
References: | <1714416512 DOT 139953645 DOT 1391030956872 DOT JavaMail DOT root AT ptd DOT net> |
In-reply-to: | <1714416512.139953645.1391030956872.JavaMail.root@ptd.net> |
On 1/29/2014 4:29 PM, mrushton wrote: > Can anyone give me any ideas or comments ? > > I am exploring the idea of moving some scripting from the MKS toolkit to Cygwin. > > I have all of these korn shell scripts that I use to poll our EDI > mailboxes, translated the EDI, ftp files to various servers, etc. > > I am trying to go from Windows XP to Windows 7. > > I tried running one of my menus under cygwin and it bombed out with > various errors. Maybe I will create a new scripts directory and see if I > can modify them to run under cygwin. > > One of my first questions would be, how do I open a Cygwin window and > have it run a shell script, like a menu ? Wrap your invocation of the shell script in question with a batch file would be the simplest approximation of what you want to do. Keep in mind too that Cygwin very much prefers POSIX paths and needs any backslashes that are meant to indicate path separators to be escaped. Look to 'cygpath' to help with this translation. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |