diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2015-01-07 18:30:28 -0500 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-01-19 23:22:37 +0000 |
commit | 4c795d543908ea4715b3e0bd6c6cf908315936d8 (patch) | |
tree | 74e9d10d130ce903bf9053508a42f9cb3f48858a /tests/local.mk | |
parent | c4c2a09cc804afb338efa5ccedffa269888c4685 (diff) | |
download | coreutils-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 'tests/local.mk')
-rw-r--r-- | tests/local.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/local.mk b/tests/local.mk index 6fc859961..5dcbd5595 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -358,6 +358,7 @@ all_tests = \ tests/split/line-bytes.sh \ tests/split/l-chunk.sh \ tests/split/r-chunk.sh \ + tests/split/record-sep.sh \ tests/split/numeric.sh \ tests/split/guard-input.sh \ tests/misc/stat-birthtime.sh \ @@ -402,7 +403,7 @@ all_tests = \ tests/misc/xattr.sh \ tests/tail-2/wait.sh \ tests/tail-2/retry.sh \ - tests/tail-2/symlink.sh \ + tests/tail-2/symlink.sh \ tests/tail-2/tail-c.sh \ tests/chmod/c-option.sh \ tests/chmod/equal-x.sh \ @@ -483,7 +484,7 @@ all_tests = \ tests/dd/ascii.sh \ tests/dd/direct.sh \ tests/dd/misc.sh \ - tests/dd/no-allocate.sh \ + tests/dd/no-allocate.sh \ tests/dd/nocache.sh \ tests/dd/not-rewound.sh \ tests/dd/reblock.sh \ |