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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Yjl6CFbxyGB9m0Do | |
d3aK8fm5tU2/ZQ52YmrwCELGoVhHvbRgCwePZDGnuTAf83WMRnm/cEhJe1aZnCuX | |
EU69rmm2zHOQkYFux/x+l5Q+4oI54vEZNbWAi+6ys0gx8z6t8eNzzFBspABX5xoq | |
msjtbysY9UvbmSkvGf+PwG+Gnf0= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=92IPVC4VIXmgj2oQg6u82b | |
DR6jQ=; b=oTFxpz+P3aDyj7DwAfpM90/0j3eOIRbny1BleUprf+zVEOWWua7S4u | |
2rZs6H5ioL5FdqPWj6mB1MszkbsOpoWarZ3mL8kM0qkG/sFgTxISz3CsvM9g2ah+ | |
QFe9JGAcKQSjFsCQvwXAM06FefsWuBK9q1G/W1NdB2gX0rSljTsIg= | |
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=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-qg0-f51.google.com |
X-Received: | by 10.140.150.211 with SMTP id 202mr36430065qhw.14.1448389460633; Tue, 24 Nov 2015 10:24:20 -0800 (PST) |
Subject: | Re: Awk not ouputting results via echo |
To: | cygwin AT cygwin DOT com |
References: | <CAE3taFC=tjki1FTfbjyt+KnEGsWmrj63FMeBjgRswRwRSKdAWQ AT mail DOT gmail DOT com> <CAE3taFBJZx+-Mok3Cch2uv+rMqUCDmJsvwfW6fWp0x_6EvDVtA AT mail DOT gmail DOT com> <5653288B DOT 5040004 AT cs DOT umass DOT edu> <CAE3taFDf5EYzp1qJEzBgvh+Z6KCdJvpSjqLCw0WnshACxBmjxA AT mail DOT gmail DOT com> |
From: | cyg Simple <cygsimple AT gmail DOT com> |
X-Enigmail-Draft-Status: | N1110 |
Message-ID: | <5654AB61.60505@gmail.com> |
Date: | Tue, 24 Nov 2015 13:24:33 -0500 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <CAE3taFDf5EYzp1qJEzBgvh+Z6KCdJvpSjqLCw0WnshACxBmjxA@mail.gmail.com> |
X-IsSubscribed: | yes |
On 11/23/2015 10:11 AM, Lester Anderson wrote: > Hello, > > The img2grd program is a Windows code. The script is using the GMT Which is the cause of any PTY issue. > software that is freely available, and accessed via Cygwin; can also > work via standard windows batch files to a more restricted degree. > > The Windows path definition worked fine, thanks for that > > The issue seems to be getting the variables calculated via awk into > the region definition (R). The awk version under Cygwin is Gawk, and > it appears to run without issue, although I cannot get the values out > to check the calculation. The echo command does not give any output. > Awk has to be used as bash does not work with floating point numbers > as far as I can see. > When in a shell that has an embedded echo such as bash you're actually using the shell internals. What if you use /bin/echo instead? Or even /bin/cat. This may or may not alleviate any PTY issue. > I am slowly working my way through a published script to get it running. > Please stop top posting. It is most annoying. -- cyg Simple -- 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 |