X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:to:message-id:subject
	:mime-version:content-type:content-transfer-encoding:references;
	 q=dns; s=default; b=xSmYSMldcTvYfjg7nrr5AAzKn0fr1aPgBnDEy5B0TOv
	t60fmccer7zo2wDoKv6Pj00Vf/s41jGTfqE83VRau+Gpf5NYaomOBFhBvk/vGkgM
	IOjEyDGndXP0G23ma2Gb+dL9YAHiQz8Xup5WWR68LIMoEF7QHlf4W/aAS46dhco8
	=
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:date:from:reply-to:to:message-id:subject
	:mime-version:content-type:content-transfer-encoding:references;
	 s=default; bh=tpF7IybYf0OBG79lHhuG0TpSWO0=; b=RA/F5bW0AxBSfDE0N
	CVa8PPv8+wUstWdltuKIiDAlX+38b9DniRGXBOlqFm1IldA8GRCPzFbmD5MfcUr2
	uNlEoGvkXPwFh8zmpbLTrOVf1G3Lt5tUgsKcA18PlVeeIT4wKgqMHvC3oDBQjTb1
	6FVmaQ7/PIrmosHO9tb1X4D7wQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*x:Gecko, H*UA:WebService, H*x:WebService, H*x:Mozilla
X-HELO: sonic317-34.consmr.mail.ne1.yahoo.com
Date: Fri, 19 Jan 2018 19:32:57 +0000 (UTC)
From: "George Prekas via cygwin" <cygwin@cygwin.com>
Reply-To: George Prekas <prekgeo@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Message-ID: <1759739558.1598055.1516390377125@mail.yahoo.com>
Subject: gnuplot dollar sign and command line arguments
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
References: <1759739558.1598055.1516390377125.ref@mail.yahoo.com>

I noticed that gnuplot is configured with the flag --enable-backwards-compatibility in file gnuplot-5.2.2-1.cygport downloaded from http://mirror.switch.ch/ftp/mirror/cygwin/x86/release/gnuplot/gnuplot-5.2.2-1-src.tar.xz. This flag causes the following test case to behave differently under Cygwin and Ubuntu:

ubuntu$ echo 'print "$0"' > x
ubuntu$ gnuplot -c x 1
$0

cygwin$ echo 'print "$0"' > x
cygwin$ gnuplot -c x 1
1

More specifically the flag --enable-backwards-compatibility enables the backward compatible expansion of dollar sign expressions to command line arguments in gnuplot source files. Is there any specific reason that Cygwin chooses to enable this flag?

Regards,
George Prekas

--
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

