From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53164 invoked by alias); 19 Jan 2018 19:33:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 53060 invoked by uid 89); 19 Jan 2018 19:33:04 -0000 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 Received: from sonic317-34.consmr.mail.ne1.yahoo.com (HELO sonic317-34.consmr.mail.ne1.yahoo.com) (66.163.184.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 19 Jan 2018 19:33:03 +0000 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 19 Jan 2018 19:33:01 +0000 Date: Fri, 19 Jan 2018 19:33:00 -0000 From: "George Prekas via cygwin" Reply-To: George Prekas To: "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> X-SW-Source: 2018-01/txt/msg00184.txt.bz2 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