|
From: Thomas S. <t.s...@fz...> - 2010-11-03 10:02:41
|
use 'system' instead of '!': system "vi ".f1 bsmile wrote: > > Hello, > > I am trying to do something like this > > s=1 > f1='../aaa/bbb_' . s . 'i.hist' > !vi f1 > p f1 u 1:2 w l > > The purpose to doing that is to see what's in the file f1 before drawing > it > (for debugging purpose). However, it seems vi takes f1 as the file name, > instead of taking aaa/bbb_1i.hist as the file. > > Any idea how to deal with this? > > Thanks, > Jon > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/how-to-execute-OS-command-using-gnuplot-defined-variables-tp30118670p30121253.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |