diff --git a/doc/tint2.1 b/doc/tint2.1 index a0fadc1..a553872 100644 --- a/doc/tint2.1 +++ b/doc/tint2.1 @@ -831,7 +831,7 @@ execp_markup = 1 .PP .RS .nf -# Though unnecessary here, "stdbuf -oL" performs better than fflush() in awk code +# Note the use of "stdbuf \-oL" to force the program to flush the output line by line. execp = new execp_command = free -b -s1 | stdbuf -oL awk '/^Mem:/ { printf "Mem: %s %.0f%%\n", $2, 100 * ($2 - $7) / $2 }' | stdbuf -oL numfmt --to=iec-i --field=2 -d' ' execp_interval = 1 @@ -842,7 +842,6 @@ execp_continuous = 1 .PP .RS .nf -# Note the use of "stdbuf \-oL" to force the program to flush the output line by line. execp = new execp_command = stdbuf \-oL bwm\-ng \-o csv \-t 1000 | awk \-F ';' '/total/ { printf "Net: %.0f Mb/s\\n", ($5*8/1.0e6) }; fflush(stdout)' execp_continuous = 1 diff --git a/doc/tint2.html b/doc/tint2.html index 97bdd77..5311c66 100644 --- a/doc/tint2.html +++ b/doc/tint2.html @@ -372,14 +372,13 @@ execp_continuous = 1 execp_interval = 1 execp_markup = 1 -
Memory usage
# Though unnecessary here, "stdbuf -oL" performs better than fflush() in awk code
+
Memory usage
# Note the use of "stdbuf -oL" to force the program to flush the output line by line.
 execp = new
 execp_command = free -b -s1 | stdbuf -oL awk '/^Mem:/ { printf "Mem: %s %.0f%%\n", $2, 100 * ($2 - $7) / $2 }' | stdbuf -oL numfmt --to=iec-i --field=2 -d' '
 execp_interval = 1
 execp_continuous = 1
 
-
Network load
# Note the use of "stdbuf -oL" to force the program to flush the output line by line.
-execp = new
+
Network load
execp = new
 execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)'
 execp_continuous = 1
 execp_interval = 1
diff --git a/doc/tint2.md b/doc/tint2.md
index 6d6ecaf..1e2d2f5 100644
--- a/doc/tint2.md
+++ b/doc/tint2.md
@@ -694,7 +694,7 @@ execp_markup = 1
 ##### Memory usage
 
 ```
-# Though unnecessary here, "stdbuf -oL" performs better than fflush() in awk code
+# Note the use of "stdbuf -oL" to force the program to flush the output line by line.
 execp = new
 execp_command = free -b -s1 | stdbuf -oL awk '/^Mem:/ { printf "Mem: %s %.0f%%\n", $2, 100 * ($2 - $7) / $2 }' | stdbuf -oL numfmt --to=iec-i --field=2 -d' '
 execp_interval = 1
@@ -704,7 +704,6 @@ execp_continuous = 1
 ##### Network load
 
 ```
-# Note the use of "stdbuf -oL" to force the program to flush the output line by line.
 execp = new
 execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)'
 execp_continuous = 1