aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/pr
Commit message (Collapse)AuthorAgeFilesLines
* Drop "All rights reserved" from the files I ownAlan Somers2019-03-111-1/+2
| | | | | | | | | Also, add SPDX tags where needed. MFC after: 2 weeks Notes: svn path=/head/; revision=345034
* Revert license change.Eitan Adler2017-12-014-8/+24
| | | | | | | | This isn't identical to the one permitted by UCB since it is copyright multiple people. Notes: svn path=/head/; revision=326419
* Finish cleaning up license :\Eitan Adler2017-11-301-1/+0
| | | | Notes: svn path=/head/; revision=326389
* Remove advertising clause from pr(1)Eitan Adler2017-11-304-23/+8
| | | | | | | | Permitted by https://www.freebsd.org/copyright/license.html Renumber 4->3 to be consistent with other files Notes: svn path=/head/; revision=326385
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-184-0/+8
| | | | | | | | | | | | | | | | | | | | 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. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* DIRDEPS_BUILD: Connect new directories.Bryan Drewery2017-10-311-0/+11
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325187
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* Remove a duplicate fclose() that snuck into r316501Alan Somers2017-04-051-1/+0
| | | | | | | | | | | Reported by: Coverity CID: 1373338 MFC after: 20 days X-MFC-With: 316501 Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=316523
* Fix file descriptor and memory leaks in pr(1)Alan Somers2017-04-048-46/+172
| | | | | | | | | | | | | | | Also, hook NetBSD's pr test into the build, and add three more test cases. Reported by: Coverity, Valgrind CID: 271650 271651 271652 271653 271654 271655 271656 271656 CID: 271657 271658 271659 1006939 1006940 1006941 1006942 1009098 Reviewed by: ngie MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D9137 Notes: svn path=/head/; revision=316501
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
| | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337 Notes: svn path=/head/; revision=289677
* 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-5/+1
| |\ | |/ |/| | | 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 with HEAD.David E. O'Brien2013-02-081-3/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | 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
* | | multiple: Remove 3rd clause from BSD license where approved by theEitan Adler2014-03-141-5/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | regents and renumber. This patch skips files in contrib/ and crypto/ Acked by: imp Discussed with: emaste Notes: svn path=/head/; revision=263142
* | Standardize EXIT STATUS instructions in man pages when possible.Eitan Adler2012-11-181-3/+1
|/ | | | | | | | Approved by: bcr (mentor) MFC after: 3 days Notes: svn path=/head/; revision=243238
* Spelling fixes for usr.bin/Ulrich Spörlein2011-12-301-3/+3
| | | | Notes: svn path=/head/; revision=228992
* Add missing static keywords to pr(1)Ed Schouten2011-11-062-29/+31
| | | | Notes: svn path=/head/; revision=227175
* Make pr build with WARNS=6.Ed Schouten2010-02-262-2/+2
| | | | Notes: svn path=/head/; revision=204359
* Use time(NULL) instead of gettimeofday(), because we only need tv_sec.Ed Schouten2010-02-261-8/+3
| | | | Notes: svn path=/head/; revision=204358
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+3
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* egetopt.c does not use any stdlib.h definations, nor it referenced anyXin LI2009-12-131-3/+0
| | | | | | | | | symbol from other module, so remove reference of stdlib.h and extern.h. Verified with: md5(1) Notes: svn path=/head/; revision=200469
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+3
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-3/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* Fix misspelled 'argument' and try to make the sentence into English.John Baldwin2005-10-261-1/+1
| | | | | | | Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com Notes: svn path=/head/; revision=151701
* 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-2/+2
| | | | Notes: svn path=/head/; revision=140368
* No capital letter after :Philippe Charnier2004-07-261-3/+3
| | | | Notes: svn path=/head/; revision=132672
* Document missing multibyte character support in utilities specifiedTim J. Robbins2004-07-031-1/+5
| | | | | | | by POSIX. Notes: svn path=/head/; revision=131511
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* ANSIify function definitions.David Malone2002-09-042-9/+9
| | | | | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5 Notes: svn path=/head/; revision=102944
* Make egetopt() return -1 not EOF, as getopt(3) do.Philippe Charnier2002-06-231-4/+4
| | | | | | | Reviewed by:markm Notes: svn path=/head/; revision=98698
* add DIAGNOSTICS sectionPhilippe Charnier2002-06-231-1/+1
| | | | Notes: svn path=/head/; revision=98667
* Modernise this code by rounding up the usual suspects: register keyword,Mark Murray2002-06-212-120/+87
| | | | | | | | | consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean. Notes: svn path=/head/; revision=98552
* Don't convert a single space before a tab stop into a tab when theTim J. Robbins2002-06-191-2/+2
| | | | | | | -i option is used. Notes: svn path=/head/; revision=98408
* Add P1003.1-2001 -f and -p options.Juli Mallett2002-03-312-4/+52
| | | | | | | | | | PR: standards/36243 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Reviewed by: mike MFC after: 2 weeks Notes: svn path=/head/; revision=93481
* remove __PWarner Losh2002-03-221-18/+19
| | | | Notes: svn path=/head/; revision=92921
* Ensure err is a useful value to prevent using fputs() with a NULL stream.Chris D. Faulhaber2002-02-171-0/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=90788
* Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly usedGarrett Wollman2001-09-211-2/+7
| | | | | | | | | | to display text in columns even when the other formatting pr does is not desired.) MFC after: 1 week Notes: svn path=/head/; revision=83746
* Remove whitespace at EOL.Dima Dorfman2001-07-151-11/+11
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-2/+0
| | | | Notes: svn path=/head/; revision=79454
* Use nl_langinfo instead of %EfAndrey A. Chernov2001-03-212-2/+7
| | | | Notes: svn path=/head/; revision=74575