diff options
| author | Pádraig Brady <P@draigBrady.com> | 2013-01-21 15:37:37 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2013-01-26 02:31:53 +0000 |
| commit | 51ce0bf8440e18de34586003b1a5d7f568fbf636 (patch) | |
| tree | 03bb7348eb727280dbc428072434d32dfcc96908 /scripts/git-hooks/commit-msg | |
| parent | build: update gnulib submodule to latest (diff) | |
| download | coreutils-51ce0bf8440e18de34586003b1a5d7f568fbf636.tar.gz coreutils-51ce0bf8440e18de34586003b1a5d7f568fbf636.zip | |
cut: with -f, process each line independently
Previously line N+1 was inspected before line N was fully output,
which causes output ordering issues at the terminal or delays
from intermittent sources like tail -f.
* src/cut.c (cut_fields): Adjust so that we record the
previous output character so we can use that info to
determine wether to output a '\n' or not.
* tests/misc/cut.pl: Add tests to ensure existing
functionality isn't broken.
* NEWS: Mention the fix.
Fixes bug http://bugs.gnu.org/13498
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
