POD: removed -Winteractive, since this was apparently a mawk-ism

Example now explicitly specifies gawk, not mawk
This commit is contained in:
Dima Kogan 2011-11-12 01:27:07 -08:00
parent 7d92690136
commit d7078759e2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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