the images should be written to the current directory ... -- Alex
[rrdtool.git] / examples / minmax.pl.in
index 29c0169..1e94a6f 100755 (executable)
@@ -6,6 +6,7 @@ use RRDs;
 my $start=time;
 my $rrd="randome.rrd";
 my $name = $0;
+$name =~ s/.*///g;
 $name =~ s/\.pl.*//g;
 
 RRDs::create ($rrd, "--start",$start-1, "--step",300,
@@ -48,4 +49,4 @@ if ($ERROR = RRDs::error) {
 
 
 print "This script has created $name.png in the current directory\n";
-print "This demonstrates the use of the TIME and % RPN operators\n";
+print "This demonstrates the use of MIN and MAX archives\n";