| #
bdcbfde3
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a pe
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
b2c76c41
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
| #
ac17fc81
|
| 30-May-2023 |
Jan Schaumann <jschauma@netmeister.org> |
split(1): add '-c' to continue creating files
Currently, split(1) will clobber any existing output files:
$ split file; ls xaa xab xac xad $ split second-file; ls xaa xab xac xad xae xaf
This patc
split(1): add '-c' to continue creating files
Currently, split(1) will clobber any existing output files:
$ split file; ls xaa xab xac xad $ split second-file; ls xaa xab xac xad xae xaf
This patch adds a flag "-c" (mnemonic "create, don't overwrite" or "continue where you left off"):
$ split file; ls xaa xab xac xad $ split -c second-file; ls xaa xab xac xad xae xaf xag xah xai xaj
Reviewed by: christos Approved by: kevans Different Revision: https://reviews.freebsd.org/D38553
show more ...
|
| #
c4f7198f
|
| 30-May-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 bai
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
show more ...
|
| #
fb499259
|
| 14-Apr-2023 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
split: Update synopsis and usage; fix examples
- Mark -d as an optional flag - Add a prompt to one of the examples for consistency - Add -d to the usage message
Sponsored by: Klara Inc.
|
| #
7aaa50c6
|
| 25-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
split: add word order fix
This was meant to note that both pattern and line matching were previously restricted, but words are difficult. +line and rearrange.
Sponsored by: Klara, Inc.
|
| #
5c053aa3
|
| 23-Aug-2022 |
Kyle Evans <kevans@FreeBSD.org> |
split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wigg
split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wiggle room. Additionally, we'll actually fail out entirely if we can't fit a line, which makes noticing this class of problem much easier.
Reviewed by: bapt, emaste, pauamma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36323
show more ...
|
| #
e48cafb5
|
| 18-Jun-2020 |
Fernando Apesteguía <fernape@FreeBSD.org> |
split(1): Add EXAMPLES section
Add EXAMPLES covering -d, -n and -p Include small explanation about the size of the chunks for the -n option
Approved by: 0mp Differential Revision: https://reviews.f
split(1): Add EXAMPLES section
Add EXAMPLES covering -d, -n and -p Include small explanation about the size of the chunks for the -n option
Approved by: 0mp Differential Revision: https://reviews.freebsd.org/D25198
show more ...
|
| #
bdcbfde3
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a pe
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
b2c76c41
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
| #
ac17fc81
|
| 30-May-2023 |
Jan Schaumann <jschauma@netmeister.org> |
split(1): add '-c' to continue creating files
Currently, split(1) will clobber any existing output files:
$ split file; ls xaa xab xac xad $ split second-file; ls xaa xab xac xad xae xaf
This patc
split(1): add '-c' to continue creating files
Currently, split(1) will clobber any existing output files:
$ split file; ls xaa xab xac xad $ split second-file; ls xaa xab xac xad xae xaf
This patch adds a flag "-c" (mnemonic "create, don't overwrite" or "continue where you left off"):
$ split file; ls xaa xab xac xad $ split -c second-file; ls xaa xab xac xad xae xaf xag xah xai xaj
Reviewed by: christos Approved by: kevans Different Revision: https://reviews.freebsd.org/D38553
show more ...
|
| #
c4f7198f
|
| 30-May-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 bai
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
show more ...
|
| #
fb499259
|
| 14-Apr-2023 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
split: Update synopsis and usage; fix examples
- Mark -d as an optional flag - Add a prompt to one of the examples for consistency - Add -d to the usage message
Sponsored by: Klara Inc.
|
| #
7aaa50c6
|
| 25-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
split: add word order fix
This was meant to note that both pattern and line matching were previously restricted, but words are difficult. +line and rearrange.
Sponsored by: Klara, Inc.
|
| #
5c053aa3
|
| 23-Aug-2022 |
Kyle Evans <kevans@FreeBSD.org> |
split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wigg
split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wiggle room. Additionally, we'll actually fail out entirely if we can't fit a line, which makes noticing this class of problem much easier.
Reviewed by: bapt, emaste, pauamma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36323
show more ...
|
| #
e48cafb5
|
| 18-Jun-2020 |
Fernando Apesteguía <fernape@FreeBSD.org> |
split(1): Add EXAMPLES section
Add EXAMPLES covering -d, -n and -p Include small explanation about the size of the chunks for the -n option
Approved by: 0mp Differential Revision: https://reviews.f
split(1): Add EXAMPLES section
Add EXAMPLES covering -d, -n and -p Include small explanation about the size of the chunks for the -n option
Approved by: 0mp Differential Revision: https://reviews.freebsd.org/D25198
show more ...
|
| #
348238db
|
| 01-Mar-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r314420 through r314481.
|
| #
fbbd9655
|
| 28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
| #
d1d01586
|
| 05-Sep-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head
|
| #
40f65a4d
|
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
| #
552311f4
|
| 17-Jul-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @253398
|
| #
cfe30d02
|
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
| #
a93b9b7d
|
| 10-May-2013 |
Eitan Adler <eadler@FreeBSD.org> |
Bump .Dd for recent content change.
Reported by: delphij
|
| #
7f418e34
|
| 10-May-2013 |
Eitan Adler <eadler@FreeBSD.org> |
Implement 'split -d' which allows a numeric suffix instead of an alphabetic one.
PR: bin/116209 Submitted by: Marcin Gryszkalis <mg@fork.pl> (adapted from) Reviewed by: will MFC after: 1 week
|
| #
348238db
|
| 01-Mar-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r314420 through r314481.
|