summaryrefslogtreecommitdiff
path: root/usr.bin/split/split.c
AgeCommit message (Expand)Author
2024-05-03Tighten boundary check in split(1) to prevent a potential buffer overflow.Shawn Bayern
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-09-28split: Improve GNU compatibility.Dag-Erling Smørgrav
2023-09-28split: Further option parsing improvements.Dag-Erling Smørgrav
2023-09-06split: Fix linecount parsing.Dag-Erling Smørgrav
2023-09-06split: Code cleanup.Dag-Erling Smørgrav
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2023-05-30split(1): add '-c' to continue creating filesJan Schaumann
2023-05-30split(1): auto-extend suffix length if requiredJan Schaumann
2023-04-18split: Update synopsis and usage; fix examplesMateusz Piotrowski
2022-10-27split: reset errno prior to getline()Math Ieu
2022-10-25split: switch to getline() for line/pattern matchingKyle Evans
2019-10-02Revert r352953: Convert pnmatch to single element array in regexec callsAlexander Kabaev
2019-10-02Convert pnmatch to single element array in regexec callsAlexander Kabaev
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2013-11-09Change manual string conversion to expand_numberEitan Adler
2013-05-21Avoid signed overflow in error handling code.Eitan Adler
2013-05-10Implement 'split -d' which allows a numeric suffix instead of anEitan Adler
2012-01-10Fix warning when compiling with gcc46:Eitan Adler
2011-11-06Add missing static keywords to split(1)Ed Schouten
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2008-03-16Add a -n option to split(1) to split files into N chunks rather thanDavid Schultz
2006-08-10Add support for splitting at gigabyte boundaries. [1]Giorgos Keramidas
2006-08-08Update usage & SYNOPSIS and clarify that input files are not removed.Giorgos Keramidas
2005-08-30Remove undocumented historic support for treating "-" as an optionTim J. Robbins
2005-08-21Remove the hack that varied the first character of the output file nameTim J. Robbins
2004-07-11Respect locale settings from the environment.Tim J. Robbins
2002-07-15Support larger files (at least 64-bit offsets) by using off_t instead ofTim J. Robbins
2002-06-15Remove <sys/types> where we use <sys/param> already.Juli Mallett
2002-05-27Allow "-" to be specified as an operand as well as an option.Tim J. Robbins
2002-05-27Avoid overflowing `fname' if the file name prefix given on the commandTim J. Robbins
2002-03-22remove __PWarner Losh
2002-02-01Add -a option (SUSv3) to split(1).Mike Barcroft
2001-12-12WARNS=2 fixes, use __FBSDID, remove GCC-specific flags.Mark Murray
2000-11-19Add/fix the ability to split a file larger than 2 gigabytes.John W. De Boskey
1999-02-05Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.Archie Cobbs
1999-02-01Add new option '-p pattern' for splitting files based on matching lines inArchie Cobbs
1997-08-11Cosmetic in err() string.Philippe Charnier
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1995-07-07This fixes 'split -l NNN foo'. As it stands split willRodney W. Grimes
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes