Searched hist:c4f7198f47c15eece849d06e8fdd1fb46ed43bba (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/split/ |
H A D | split.1 | diff c4f7198f47c15eece849d06e8fdd1fb46ed43bba Tue May 30 14:55:38 CEST 2023 Jan Schaumann <jschauma@netmeister.org> split(1): auto-extend suffix length if required
If the input cannot be split into the number of files resulting from the default suffix length, automatically extend the suffix length rather than bailing out with 'too many files'.
Suffixes are extended such that the resulting files continue to sort lexically and "cat *" would reproduce the input. For example, splitting a 1M lines file into (default) 1000 lines per file would yield files named 'xaa', 'xab', ..., 'xyy', 'xyz', 'xzaaa', 'xzaab', ..., 'xzanl'.
If '-a' is specified, the suffix length is not auto-extended.
This behavior matches GNU sort(1) since around version 8.16.
Reviewed by: christos Approved by: kevans Different Revision: https://reviews.freebsd.org/D38279
|
H A D | split.c | diff c4f7198f47c15eece849d06e8fdd1fb46ed43bba Tue May 30 14:55:38 CEST 2023 Jan Schaumann <jschauma@netmeister.org> split(1): auto-extend suffix length if required
If the input cannot be split into the number of files resulting from the default suffix length, automatically extend the suffix length rather than bailing out with 'too many files'.
Suffixes are extended such that the resulting files continue to sort lexically and "cat *" would reproduce the input. For example, splitting a 1M lines file into (default) 1000 lines per file would yield files named 'xaa', 'xab', ..., 'xyy', 'xyz', 'xzaaa', 'xzaab', ..., 'xzanl'.
If '-a' is specified, the suffix length is not auto-extended.
This behavior matches GNU sort(1) since around version 8.16.
Reviewed by: christos Approved by: kevans Different Revision: https://reviews.freebsd.org/D38279
|