summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2015-01-07 18:30:28 -0500
committerPádraig Brady <P@draigBrady.com>2015-01-19 23:22:37 +0000
commit4c795d543908ea4715b3e0bd6c6cf908315936d8 (patch)
tree74e9d10d130ce903bf9053508a42f9cb3f48858a /NEWS
parentc4c2a09cc804afb338efa5ccedffa269888c4685 (diff)
downloadcoreutils-4c795d543908ea4715b3e0bd6c6cf908315936d8.tar.xz
split: new -t option to select record separator
* src/split.c (eolchar): A new variable to hold the separator character (unibyte for now). This is reference throughout rather than hardcoding '\n'. (usage): Describe the new --separator option, and mention records along with lines so there is no ambiguity that all options treat lines and records equivalently. (main): Have -t update eolchar, or default to '\n'. * tests/split/record-sep.sh: New test case. * tests/local.mk: Reference the new test. * doc/coreutils.texi (split invocation): Document the new option. Adjust --lines, --line-bytes, --number=[lr]/... to mention they pertain to records if --separator is specified. * NEWS: Mention the new feature.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f59bfc1d6..e0a2893cb 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,9 @@ GNU coreutils NEWS -*- outline -*-
dd accepts a new status=progress level to print data transfer statistics
on stderr approximately every second.
+ split accepts a new --separator option to select a record separator character
+ other than the default newline character.
+
** Changes in behavior
df no longer suppresses separate exports of the same remote device, as