|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-07-18 11:34:48
|
Am 17.07.2010 18:26, schrieb Szymon Piszczek: > I have problem with redirection of data printed by GnuPlot to terminal > when working in batch mode. I have a bash script generating and > invoking GnuPlot's scripts. On terminal (STDOUT and/or STDERR) I need > bash script's messages, not fitting parameters. See "help set fit" and "help environment" for how to redirect the fit log to another file. > I've tried > gnuplot script.gp 2>&1> gnuplot.log > but it haven't work Of course it didn't. And it's got nothing to do with gnuplot, either. It's a question of Bourne shell. The correct sequence is gnuplot >gnuplot.log 2>&1 See "info bash basic redirect" for the details. |