Ethan Merritt
-
2013-09-09
- status: open --> pending-accepted
- Group: -->
This patch represents my idea and is not complete.
It allows us to specify "call" script on the command line.
For example, we may specify the following "call" script file1.gp:
print "arg=$# p0=$0 p1=$1"
with options for it:
% gnuplot -c file.gp "abcd" 12
Similar feature may be realized by setting variables by -e option,
but this is more useful for Unix. If we add a line
to the top of the script, and add executable property, then
we may run the script with options
% ./file1.gp "abcd" 12
Off course we cannot specify another script files after the -c
option.