public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: cyg Simple <cygsimple@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Awk not ouputting results via echo
Date: Tue, 24 Nov 2015 18:32:00 -0000	[thread overview]
Message-ID: <5654AB61.60505@gmail.com> (raw)
In-Reply-To: <CAE3taFDf5EYzp1qJEzBgvh+Z6KCdJvpSjqLCw0WnshACxBmjxA@mail.gmail.com>

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

  reply	other threads:[~2015-11-24 18:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 13:17 Lester Anderson
2015-11-23 14:00 ` Lester Anderson
     [not found]   ` <5653288B.5040004@cs.umass.edu>
2015-11-23 15:11     ` Lester Anderson
2015-11-24 18:32       ` cyg Simple [this message]
2015-11-23 14:42 ` cyg Simple
2015-11-23 15:23 ` Eliot Moss
2015-11-23 16:24   ` Lester Anderson
2015-11-23 16:44     ` Lester Anderson
2015-11-23 16:53     ` Eliot Moss
2015-11-23 20:41 ` Lee
2015-11-24 10:54   ` Lester Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5654AB61.60505@gmail.com \
    --to=cygsimple@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).