----- Original Message -----
> From: tmacchant
> To: gnuplot-info
> Cc:
> Date: 2015/6/18, Thu 09:00
> Subject: Re: [Gnuplot-info] passing an argument to gnuplot script
>
>> export num=$1
>> gnuplot -e "fileW='/dev/shm/waitingTime$1.txt';
>> fileT='/dev/shm/thinkingTime$1.txt'" file.gnuplot
>
> I have been long time only window user and became also Linux user very
> recently.
> (But I have experienced msys and cygwin.)
>
> I have also Googled.
>
> Does the below work?
> $ cmd=$(printf "gnuplot -e \"fileW='/dev/shm/waitingTime%d.txt';fileT='/dev/shm/thinkingTime%d.txt'\" file.gnuplot" $1 $1); $cmd
>
Perhaps the below is enough
$ $(printf "gnuplot -e \"fileW='/dev/shm/waitingTime%d.txt';fileT='/dev/shm/thinkingTime%d.txt'\" file.gnuplot" $1 $1)
Tatsuro
|