Awk not ouputting results via echo
cyg Simple
cygsimple@gmail.com
Tue Nov 24 18:32:00 GMT 2015
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
More information about the Cygwin
mailing list