gnuplot dollar sign and command line arguments

George Prekas via cygwin
Fri Jan 19 19:33:00 GMT 2018

I noticed that gnuplot is configured with the flag --enable-backwards-compatibility in file gnuplot-5.2.2-1.cygport downloaded from This flag causes the following test case to behave differently under Cygwin and Ubuntu:

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

cygwin$ echo 'print "$0"' > x
cygwin$ gnuplot -c x 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?

George Prekas

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list