From d57634bcf9769b3d6ec879e93198e3604313e344 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 19 Feb 2024 21:38:00 -0800 Subject: [PATCH] website documentation doesn't say it's making ascii art because that documentation shows a graphical image --- README.pod | 8 ++------ bin/feedgnuplot | 10 ++++------ extract_README.sh | 2 +- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/README.pod b/README.pod index 2e88eda..e955072 100644 --- a/README.pod +++ b/README.pod @@ -27,9 +27,7 @@ Simple plotting of piped data: --title "Test plot" \ --y2 1 \ --unset key \ - --unset grid \ - --terminal 'dumb 80,40' \ - --exit + --unset grid =for html

@@ -50,9 +48,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last --ylabel 'Bytes/sec' \ --xlabel seconds \ --unset key \ - --unset grid \ - --terminal 'dumb 80,40' \ - --exit + --unset grid =for html

diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 0876759..1b81382 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -1421,14 +1421,13 @@ Simple plotting of piped data: $ seq 5 | awk '{print 2*$1, $1*$1}' | feedgnuplot \ + --terminal 'dumb 80,40' --exit \ --lines \ --points \ --title "Test plot" \ --y2 1 \ --unset key \ - --unset grid \ - --terminal 'dumb 80,40' \ - --exit + --unset grid Test plot 10 +-----------------------------------------------------------------+ 25 @@ -1478,6 +1477,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last done \ | gawk '/wlan0/ {if(b) {print $2-b; N++; fflush()} b=$2} N==15 {exit}' \ | feedgnuplot \ + --terminal 'dumb 80,40' --exit \ --lines \ --title "wlan0 throughput" \ --stream \ @@ -1485,9 +1485,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last --ylabel 'Bytes/sec' \ --xlabel seconds \ --unset key \ - --unset grid \ - --terminal 'dumb 80,40' \ - --exit + --unset grid wlan0 throughput 300000 +---------------------------------------------------------------+ diff --git a/extract_README.sh b/extract_README.sh index 641b8df..cfa9f36 100755 --- a/extract_README.sh +++ b/extract_README.sh @@ -33,5 +33,5 @@ seq 5 | awk '{print 2*$1, $1*$1}' | next; \ } \ /=head1/,0 \ - { print }' >> README.pod + { if(!/^ *--terminal .dumb 80,40. --exit/) { print } }' >> README.pod