delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/19/14:34:00

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: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 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=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 AT cygwin DOT com>
Reply-To: George Prekas <prekgeo AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1759739558.1598055.1516390377125@mail.yahoo.com>
Subject: gnuplot dollar sign and command line arguments
MIME-Version: 1.0
References: <1759739558 DOT 1598055 DOT 1516390377125 DOT ref AT mail DOT yahoo DOT 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

- Raw text -


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