$cmd = "g_rms -f $f1 -s $f2 << Ende\n1\n1\nEnde"; system $cmd ==0 or die "Fehler ($?)\n";