summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70f35e3)
raw | patch | inline | side by side (parent: 70f35e3)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 11 Oct 2005 16:37:58 +0000 (16:37 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 11 Oct 2005 16:37:58 +0000 (16:37 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@699 a5681a0c-68f1-0310-ab6d-d61299d08faa
examples/4charts.pl.in | patch | blob | history | |
examples/bigtops.pl.in | patch | blob | history | |
examples/minmax.pl.in | patch | blob | history |
diff --git a/examples/4charts.pl.in b/examples/4charts.pl.in
index beeb6f4a2e6f218e10c24395aeb603269ff73a33..828595cf9e6057280de266d09025fd93caac6860 100755 (executable)
--- a/examples/4charts.pl.in
+++ b/examples/4charts.pl.in
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,
diff --git a/examples/bigtops.pl.in b/examples/bigtops.pl.in
index b3fa6e41f8aeb18848db0bbf0c5092ecf201c748..0f5d98ccc85ac1ece2dd509fda577eb52b5508a2 100755 (executable)
--- a/examples/bigtops.pl.in
+++ b/examples/bigtops.pl.in
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,
diff --git a/examples/minmax.pl.in b/examples/minmax.pl.in
index 29c016932497c9ef3d89726a71f554f18d86905e..1e94a6fac6fad2e5f8f48487becbd2af4e475078 100755 (executable)
--- a/examples/minmax.pl.in
+++ b/examples/minmax.pl.in
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,
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";