« Return to Thread: Call variables from korn shell

Re: Call variables from korn shell

by Thomas Sefzick :: Rate this Message:

| View in Thread

instead of
${MODEL}
you may use
system("printenv MODEL")
or
!printenv MODEL
or
`printenv MODEL`
depending on the context in which you are using the shell variable.

tib07 wrote:
Hello,
I use gnuplot in a Korn-Shell script and I would called variables from my scipt to my plot like MODEL and YEAR. In korn-shell, I write ${MODEL} but how to do this in gnuplot?

Thanks!
Thibault C.

 « Return to Thread: Call variables from korn shell