File: stdbuf.x

package info (click to toggle)
coreutils 8.13-3.5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 55,728 kB
  • sloc: sh: 213,455; ansic: 89,030; perl: 5,972; makefile: 1,695; yacc: 1,249; python: 25; sed: 16
file content (17 lines) | stat: -rw-r--r-- 682 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'\" Copyright (C) 2009-2011 Free Software Foundation, Inc.
'\"
'\" This is free software.  You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://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 immedidately 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.