aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/csplit
Commit message (Collapse)AuthorAgeFilesLines
* MFC r326276:Eitan Adler2018-03-051-0/+2
| | | | | | | | | | | | | | | | | | | various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. 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. No functional change intended. Notes: svn path=/stable/11/; revision=330449
* MFC r317709: csplit: Fix check of fputs() return value, making csplit workJilles Tjoelker2017-05-121-3/+3
| | | | | | | | | | | | | | again. As of r295638, fputs() returns the number of bytes written (if not more than INT_MAX). This broke csplit completely, since csplit assumed success only for the return value 0. PR: 213510 Relnotes: yes Notes: svn path=/stable/11/; revision=318238
* Rename getline with get_line to avoid collision with getline(3)Baptiste Daroussin2016-05-101-8/+8
| | | | | | | | | | When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard Obtained from: NetBSD Notes: svn path=/head/; revision=299355
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-281-2/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=265044
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | Correct example.Joel Dahl2014-02-081-2/+2
|/ | | | | | | | Submitted by: Jason McIntyre <jmc@kerhand.co.uk> Thomas Klausner <wiz@netbsd.org> Notes: svn path=/head/; revision=261633
* Add missing static keywords to csplit(1)Ed Schouten2011-11-061-30/+30
| | | | Notes: svn path=/head/; revision=227161
* A bit of rewording for clarity, taken from OpenBSD.Tom Rhodes2009-01-101-9/+26
| | | | | | | Submitted by: jmc@OpenBSD.org Notes: svn path=/head/; revision=187019
* Update the description of -k, output files appear toTom Rhodes2008-12-241-7/+2
| | | | | | | | | | | be left regardless of an error, signal, or complete run. PR: 69861 Submitted by: vlad902@gmail.com Notes: svn path=/head/; revision=186477
* Document input line length limit.Tim J. Robbins2005-01-251-1/+5
| | | | Notes: svn path=/head/; revision=140835
* Sort sections.Ruslan Ermilov2005-01-181-6/+6
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Remove BUGS section that talked about missing multibyte character support.Tim J. Robbins2004-07-121-5/+1
| | | | | | | We have support now that the regular expression routines do. Notes: svn path=/head/; revision=132028
* Document missing multibyte character support in utilities specifiedTim J. Robbins2004-07-031-1/+5
| | | | | | | by POSIX. Notes: svn path=/head/; revision=131511
* Use fseeko() to properly support large files.Tim J. Robbins2004-03-221-3/+3
| | | | Notes: svn path=/head/; revision=127300
* Use errc().Tim J. Robbins2004-03-221-4/+2
| | | | Notes: svn path=/head/; revision=127298
* mdoc(7) police: simplify.Ruslan Ermilov2002-08-141-3/+1
| | | | Notes: svn path=/head/; revision=101865
* The return value of snprintf should be always nonnegative, so it shouldDavid Malone2002-07-281-1/+1
| | | | | | | be safe to cast it to a size_t before comparing it to a sizeof(). Notes: svn path=/head/; revision=100821
* Use sigaction(2) instead of signal(3) to avoid the signal handler beingTim J. Robbins2002-07-261-3/+10
| | | | | | | re-entered. Notes: svn path=/head/; revision=100697
* Avoid truncating filenames with snprintf().Tim J. Robbins2002-06-291-2/+5
| | | | Notes: svn path=/head/; revision=99024
* Note that this appeared at least as early as PWB UNIX.Juli Mallett2002-06-101-0/+4
| | | | | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it. Notes: svn path=/head/; revision=98107
* Respect LC_CTYPE and LC_COLLATE environment variables, mainly for theirTim J. Robbins2002-06-072-0/+14
| | | | | | | | effects on regular expressions. The libc regex code does not handle equivalence classes well (for example), but we do our best. Notes: svn path=/head/; revision=97977
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-05-301-16/+22
| | | | Notes: svn path=/head/; revision=97599
* Handle the case where a negative offset in a regular expression matchTim J. Robbins2002-05-161-0/+2
| | | | | | | is larger than the number of lines in the overflow file. Notes: svn path=/head/; revision=96710
* Correct synopsis and usage(): pattern arguments are not optional.Tim J. Robbins2002-05-162-2/+2
| | | | Notes: svn path=/head/; revision=96708
* Add the csplit(1) utility, which splits files based on context, as specifiedTim J. Robbins2002-05-021-0/+5
| | | | | | | | | | | | by SUSv3. This Makefile got left out of the previous commit. PR: 36191 Reviewed by: mike Notes: svn path=/head/; revision=95927
* Add the csplit(1) utility, which splits files based on context, as specifiedTim J. Robbins2002-05-022-0/+588
by SUSv3. PR: 36191 Reviewed by: mike Notes: svn path=/head/; revision=95926