History log of /freebsd-12.1/usr.bin/split/split.c (Results 1 – 25 of 29)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <[email protected]>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier f

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# fbbd9655 28-Feb-2017 Warner Losh <[email protected]>

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 <[email protected]>
Pull Request: https://github.com/freebsd/freebsd/pull/96

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0
# 3ebd4af7 09-Nov-2013 Eitan Adler <[email protected]>

Change manual string conversion to expand_number

Reviewed by: adrian


Revision tags: release/9.2.0, release/8.4.0
# 89c5c3aa 21-May-2013 Eitan Adler <[email protected]>

Avoid signed overflow in error handling code.

Reviewed by: cperciva, bjk


# 7f418e34 10-May-2013 Eitan Adler <[email protected]>

Implement 'split -d' which allows a numeric suffix instead of an
alphabetic one.

PR: bin/116209
Submitted by: Marcin Gryszkalis <[email protected]> (adapted from)
Reviewed by: will
MFC after: 1 week


Revision tags: release/9.1.0, release/8.3.0
# af9eff1f 10-Jan-2012 Eitan Adler <[email protected]>

Fix warning when compiling with gcc46:
error: variable 'defname' set but not use

Approved by: dim
MFC after: 3 day


# 973aa6bc 06-Nov-2011 Ed Schouten <[email protected]>

Add missing static keywords to split(1)


Revision tags: release/7.4.0, release/8.2.0
# da52b4ca 11-Dec-2010 Joel Dahl <[email protected]>

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $F

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson

show more ...


Revision tags: release/8.1.0, release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0
# 0e286f08 16-Mar-2008 David Schultz <[email protected]>

Add a -n option to split(1) to split files into N chunks rather than
having to specify the right number of bytes.

Obtained from: NetBSD
Submitted by: Jan Schaumann <[email protected]>
PR: 113

Add a -n option to split(1) to split files into N chunks rather than
having to specify the right number of bytes.

Obtained from: NetBSD
Submitted by: Jan Schaumann <[email protected]>
PR: 113175

show more ...


Revision tags: release/7.0.0, release/6.3.0, release/6.2.0
# a6dd1c93 10-Aug-2006 Giorgos Keramidas <[email protected]>

Add support for splitting at gigabyte boundaries. [1]

Also make both lowercase and uppercase suffix letters work
as byte-count suffixes, i.e. the following two commands are
equivalent now:

% sp

Add support for splitting at gigabyte boundaries. [1]

Also make both lowercase and uppercase suffix letters work
as byte-count suffixes, i.e. the following two commands are
equivalent now:

% split -b 4m foo
% split -b 4M foo

Submitted by: Roman Divacky [1]
Lots of help by: cperciva
Reviewed by: cperciva
MFC after: 1 week

show more ...


# 49198c42 08-Aug-2006 Giorgos Keramidas <[email protected]>

Update usage & SYNOPSIS and clarify that input files are not removed.
Sort getopt option handling of -p too, while here.

The changes are adapted from a patch by Ruslan Ermilov, posted as
followup to

Update usage & SYNOPSIS and clarify that input files are not removed.
Sort getopt option handling of -p too, while here.

The changes are adapted from a patch by Ruslan Ermilov, posted as
followup to docs/33852.

PR: docs/33852
Submitted by: Gary W. Swearingen <[email protected]>
MFC after: 1 week

show more ...


Revision tags: release/5.5.0, release/6.1.0, release/6.0.0
# bb78dba4 30-Aug-2005 Tim J. Robbins <[email protected]>

Remove undocumented historic support for treating "-" as an option
instead of a file operand; this is not compatible with POSIX.


# e93586df 21-Aug-2005 Tim J. Robbins <[email protected]>

Remove the hack that varied the first character of the output file name
if none was specified on the command line. This is not permitted by
POSIX, and no longer needed now that we have the -a option.

Remove the hack that varied the first character of the output file name
if none was specified on the command line. This is not permitted by
POSIX, and no longer needed now that we have the -a option.

PR: 85099
Submitted by: Toby Peterson (Apple Computer)

show more ...


Revision tags: release/5.4.0, release/4.11.0, release/5.3.0
# 0742d4ed 11-Jul-2004 Tim J. Robbins <[email protected]>

Respect locale settings from the environment.


Revision tags: release/4.10.0, release/5.2.1, release/5.2.0, release/4.9.0, release/5.1.0, release/4.8.0, release/5.0.0, release/4.6.2
# c81180b8 15-Jul-2002 Tim J. Robbins <[email protected]>

Support larger files (at least 64-bit offsets) by using off_t instead of
int to store offsets.


# 2c69ee9b 15-Jun-2002 Juli Mallett <[email protected]>

Remove <sys/types> where we use <sys/param> already.

protoize.


# 3e4228c3 27-May-2002 Tim J. Robbins <[email protected]>

Allow "-" to be specified as an operand as well as an option.
SUSV3 requires something like "split -- -" to work. Document the "-" operand.


# 3f5869d0 27-May-2002 Tim J. Robbins <[email protected]>

Avoid overflowing `fname' if the file name prefix given on the command
line is too long.

Obtained from: OpenBSD


# 3f330d7d 22-Mar-2002 Warner Losh <[email protected]>

remove __P


# 41850495 01-Feb-2002 Mike Barcroft <[email protected]>

Add -a option (SUSv3) to split(1).

Submitted by: Tim J. Robbins <[email protected]>
MFC after: 1 month


# f1d37c20 12-Dec-2001 Mark Murray <[email protected]>

WARNS=2 fixes, use __FBSDID, remove GCC-specific flags.


Revision tags: release/4.3.0
# aecbd999 19-Nov-2000 John W. De Boskey <[email protected]>

Add/fix the ability to split a file larger than 2 gigabytes.

Added $FreeBSD tag (in the way the already present sccsid is
done). I've been told the rcsid stuff may be of dubious value
so I'm curious

Add/fix the ability to split a file larger than 2 gigabytes.

Added $FreeBSD tag (in the way the already present sccsid is
done). I've been told the rcsid stuff may be of dubious value
so I'm curious to know if folks (still) use it.

Submitted by: Brad Chisholm <[email protected]>

show more ...


# d37fcb98 05-Feb-1999 Archie Cobbs <[email protected]>

Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.
Submitted by: Philippe Charnier <[email protected]>


# 2fa6610f 01-Feb-1999 Archie Cobbs <[email protected]>

Add new option '-p pattern' for splitting files based on matching lines in
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style b

Add new option '-p pattern' for splitting files based on matching lines in
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style bugs.
PR: bin/9405

show more ...


# c002b33b 11-Aug-1997 Philippe Charnier <[email protected]>

Cosmetic in err() string.


12