Oops! Change: ######################################################################## # Add the extra "<v> NaN </v>" under the RRAs. Just print normal lines # ######################################################################## if ($parse == 1) { print substr($line, 0, -6); print "<v> NaN </v>"; print substr($line, -6); print "\n"; } else { print "$line\n"; }
------------------------------------------------------------------------ To read: ######################################################################## # Add the extra "<v> NaN </v>" under the RRAs. Just print normal lines # ######################################################################## if ($parse == 1) { $line =~ s/<row>/<row><v> NaN <\/v>/; print "$line\n"; } ------------------------------------------------------------------------ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi