summaryrefslogtreecommitdiff
path: root/usr.bin/csplit
AgeCommit message (Collapse)Author
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.Ingo Schwarze
Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@
2015-10-24Make it more obvious what exact csplit commands will do.Vadim Zhukov
With much help & okay from jmc@
2015-10-11with the RPATH enforcement, csplit(1) don't work anymore on stdin...Sebastien Marie
the newfile() function used for create files open files in "w+" (O_RDWR), and may occasionally do reading on the file (function toomuch()). ok deraadt@
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath wpath cpath" to cover all the file opening cases.Theo de Raadt
ok doug
2014-05-20Use errc/warnc to simplify code.Philip Guenther
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
2014-02-04the first example produces 21 sections, not 20; ok sobradoJason McIntyre
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-21missing argument to Ex; from daniel dickmanJason McIntyre
2010-06-13remove obsolete ENVIRONMENT section; from Daniel DickmanJason McIntyre
ok millert
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-12-30be clear about what csplit does by default when no options to theJason McIntyre
contrary are specified; feedback/ok otto millert
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2006-07-17please lintTheo de Raadt
2006-07-17include prompts in examples;Jason McIntyre
2006-07-17Fix comment wrt snprintfTodd C. Miller
2006-07-17Add csplit(1) from FreeBSD; with man page tweaks from jmc@.Todd C. Miller
OK deraadt@