summaryrefslogtreecommitdiffstats
path: root/man/stdbuf.x
diff options
context:
space:
mode:
Diffstat (limited to 'man/stdbuf.x')
-rw-r--r--man/stdbuf.x17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/stdbuf.x b/man/stdbuf.x
new file mode 100644
index 0000000..109fc57
--- /dev/null
+++ b/man/stdbuf.x
@@ -0,0 +1,17 @@
+'\" Copyright (C) 2009-2020 Free Software Foundation, Inc.
+'\"
+'\" This is free software. You may redistribute copies of it under the terms
+'\" of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
+[NAME]
+stdbuf \-
+Run COMMAND, with modified buffering operations for its standard streams.
+[DESCRIPTION]
+.\" Add any additional description here
+[EXAMPLES]
+.B tail -f access.log | stdbuf -oL cut -d \(aq \(aq -f1 | uniq
+.br
+This will immediately display unique entries from access.log
+[BUGS]
+On GLIBC platforms, specifying a buffer size, i.e., using fully buffered mode
+will result in undefined operation.