From d7078759e2fa1793d7e3b72d1711e2fcc19a7d51 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sat, 12 Nov 2011 01:27:07 -0800 Subject: [PATCH] POD: removed -Winteractive, since this was apparently a mawk-ism Example now explicitly specifies gawk, not mawk --- README.pod | 2 +- bin/feedgnuplot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.pod b/README.pod index a8cc551..f2b5686 100644 --- a/README.pod +++ b/README.pod @@ -20,7 +20,7 @@ Simple real-time plotting example: plot how much data is received on the wlan0 network interface in bytes/second (uses bash, awk and Linux): $ while true; do sleep 1; cat /proc/net/dev; done | - awk -Winteractive '/wlan0/ {if(b) {print $2-b} b=$2}' | + gawk '/wlan0/ {if(b) {print $2-b; fflush()} b=$2}' | feedgnuplot --lines --stream --xlen 10 --ylabel 'Bytes/sec' --xlabel seconds =head1 DESCRIPTION diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 7c6d138..9f5f03f 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -644,7 +644,7 @@ Simple real-time plotting example: plot how much data is received on the wlan0 network interface in bytes/second (uses bash, awk and Linux): $ while true; do sleep 1; cat /proc/net/dev; done | - awk -Winteractive '/wlan0/ {if(b) {print $2-b} b=$2}' | + gawk '/wlan0/ {if(b) {print $2-b; fflush()} b=$2}' | feedgnuplot --lines --stream --xlen 10 --ylabel 'Bytes/sec' --xlabel seconds =head1 DESCRIPTION