coreutils/tests
Jeffrey Finkelstein 6718d97f97 split: add support for -e argument
Add the `-e` flag, which indicates whether to elide (that is, remove)
empty files that would have been created by the `-n` option.

The `-n` command-line argument gives a specific number of chunks into
which the input files will be split. If the number of chunks is
greater than the number of bytes, then empty files will be created for
the excess chunks. But if `-e` is given, then empty files will not be
created.

For example, contrast

    $ printf 'a\n' > f && split -e -n 3 f && cat xaa xab xac
    a
    cat: xac: No such file or directory

with

    $ printf 'a\n' > f && split -n 3 f && cat xaa xab xac
    a
2022-02-17 19:03:51 -05:00
..
benches/factor all: change macros 2022-01-29 15:26:32 +01:00
by-util split: add support for -e argument 2022-02-17 19:03:51 -05:00
common tests: add CmdResult::stdout_is_fixture_bytes() 2022-02-15 21:50:48 -05:00
fixtures split: add support for -e argument 2022-02-17 19:03:51 -05:00
test_util_name.rs tests: silence clippy warnings for unused_imports 2021-10-10 00:52:18 +02:00
tests.rs tests ~ use build.rs build list of test_UTIL module files 2020-06-02 12:17:30 -05:00