]> git.ipfire.org Git - thirdparty/util-linux.git/commit
line: keep stdin unbuiffered
authorKarel Zak <kzak@redhat.com>
Wed, 2 Dec 2015 14:01:23 +0000 (15:01 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Dec 2015 14:01:23 +0000 (15:01 +0100)
commite03f29b6941fcf71b03039b0bf9e8fec66c81b58
treeb23f70bf490ab12a0c98611e040ab43543045391
parent352740e88e2c9cb180fe845ce210b1c7b5ad88c7
line: keep stdin unbuiffered

 $ printf 'a\nb\n' | echo $(./line) :: $(./line)

broken version:

 a ::

fixed version:

 a :: b

Addresses: https://github.com/karelzak/util-linux/issues/236
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/line.c