delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/12/16:36:43

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE03B3A14C00
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1605216957;
bh=3GSrbhnQz5Z1XxelMvaop5qPGxm2GKd4W35MPuJvvWE=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=hLYtemumIWgiQZlifZ+b7Fh+mUEST7GJTvkUxbar7TiEMNJOmQQ9JbKi6ntDcPcGf
jLt3RwmJWk1uTa1STjyE5AvrKgob5VWwuZlBqAHvMxeXxD/YOcwaEQrTid25TynzXz
hl9mDarXtwslk9plWm/wYgVuySZL4ybibmLG+aUw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CA75A386EC59
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: cygwin64 gnuplot 5.4 patchlevel 0 -all sciripts written for gnuplot
4.6 do not run.
Thread-Topic: cygwin64 gnuplot 5.4 patchlevel 0 -all sciripts written for
gnuplot 4.6 do not run.
Thread-Index: Ada5KEIAEdPfXCQaQDSiHOMvMl+WPQ==
Date: Thu, 12 Nov 2020 21:35:40 +0000
Message-ID: <ce3bd72834ec47a492ac712d23741ed6@boeing.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [137.137.12.6]
x-tm-snts-smtp: F32E53AF6AAD47CF985300EE3595729C017B91E0B24D91F3B32FE0344A11109C2000:8
MIME-Version: 1.0
X-TM-AS-GCONF: 00
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_ASCII_DIVIDERS,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Kramer \(US\), Leonard via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Kramer \(US\), Leonard" <Leonard DOT Kramer AT boeing DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0ACLaPro002401

I'm running cygwin64 on a Windows 10 platform .
None of my 5 existing, well established, gnuplot 4.6 scripts run under gnuplot-base 5.4 which I just installed.

Let's start with:

This fragment works as I intended under gnuplot 4.6.  It reads the first line of a file named in ARG1 and extracts the first field.
-----------------------------------------------------------------------------------------------
inputfile = ARG1
starttime = system("head -c 37 " . inputfile . "| awk '{print $1}' " )
----------------------------------------------------------------------------------------------

However, in gnuplot-base (5.4 patchlevel 0) 
The '$1' persistently translates to the second gnuplot-base command line argument (ie: ARG2).   It is not supposed to be assigned to anything as far as I know.  I have a work around but this appears to be a very severe bug.

This is only the first error I'm working through.   I'm actually working on restoring gnuplot 4.6.

Leonard Kramer, Ph.D.
Boeing Company HB3-20
Guidance, Navigation and Control
13100 Space Center Blvd.
Houston, TX 77059
Leonard DOT Kramer AT Boeing DOT com
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019