[Mplayer-cvslog] CVS: main/TOOLS plotpsnr.pl,1.1,1.2

Jonas Jermann jjermann at gmx.net
Thu Feb 13 18:49:38 CET 2003


Hi

On Thu, Feb 13, 2003 at 12:03:57AM +0100, Felix Buenemann wrote:
> On Sunday 09 February 2003 14:13, Jonas Jermann CVS wrote:
> >  system ("gnuplot $dem_file");
> > -#system("rm $dem_file $options{file}.[IPB] $options{file}.diff*
> > 2>/dev/null"); +system("rm $dem_file $options{file}.[IPB]
> > $options{file}.diff* 2>/dev/null");
> btw. I don't currently have gnuplot installed, but if it supports reading 
> commands from a pipe you could use perl to open a pipe to it as a file 
> descriptor and use it instead of your temp file.

I tried to do sthg like this (first). But I didn't find a way to pass 
commands through pipes or sthg similar, so I wrote this and it 
worked for me. Feel free to fix it :). I confess: It's ugly this 
way... ;)

Regards
    Jonas


More information about the MPlayer-cvslog mailing list