aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/banner
Commit message (Collapse)AuthorAgeFilesLines
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-10/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* usr.bin: Remove ancient SCCS tags.Warner Losh2023-11-273-6/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory2023-07-071-1/+1
| | | | | | | | In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* manpages: Fix use of At macroMateusz Piotrowski2022-03-031-1/+1
| | | | | | The versions for the At macro from 1 to 7 must be prefixed with "v". MFC after: 3 days
* banner: Correct history.Warner Losh2021-06-211-2/+2
| | | | | | | | | | Banner appeared in the 6th edition of AT&T Research unit. It was subsequently on all the Berkeley tapes, as well as PWB, System III and System V. The PWB/AT&T and BSD banner programs were different, and the current FreeBSD banner program shares many elements of the 3BSD one, though the font has changed. Sponsored by: Netflix
* Add HISTORY sections to banner(6), basename(1), limits(1) and vmstat(8)Gordon Bergling2020-06-181-1/+6
| | | | | | | | | | Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D25019 Notes: svn path=/head/; revision=362327
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* banner(6): Squash a harmless coverity warningConrad Meyer2017-04-131-1/+1
| | | | | | | | | | | | | | | The destination buffer is sized as the sum of program argument lengths, so it has plenty of room for *argv. Appease Coverity by using strlcpy instead of strcpy. Similar to a nearby cleanup performed in r316500. No functional change. Reported by: Coverity (CWE-120) CID: 1006703 Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=316797
* strcpy => strlcpy, strcat => strlcatAlan Somers2017-04-041-2/+2
| | | | | | | | | | | | Reported by: Coverity CID: 1006703 978863 1006745 1347163 Reviewed by: cem MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D10192 Notes: svn path=/head/; revision=316500
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | 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 <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* 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
| * 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
* Add missing static keywords to banner(1)Ed Schouten2011-11-061-7/+7
| | | | Notes: svn path=/head/; revision=227152
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=216370
* ANSIfy various tools in usr.bin/.Ed Schouten2010-01-021-1/+1
| | | | | | | | Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well. Notes: svn path=/head/; revision=201382
* o Check that -w width is not above maximum. Use DWIDTH instead ofMaxim Konovalov2006-11-221-2/+2
| | | | | | | | | | | hardcoded constant. Reported by: Gruzicki Wlodek on BugTraq Obtained from: NetBSD, OpenBSD MFC after: 1 week Notes: svn path=/head/; revision=164522
* Document message length limit.Tim J. Robbins2005-01-251-1/+3
| | | | Notes: svn path=/head/; revision=140834
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* remove __PWarner Losh2002-03-221-1/+1
| | | | Notes: svn path=/head/; revision=92920
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-101-5/+6
| | | | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. Notes: svn path=/head/; revision=87628
* Use __FBSDID().Mark Murray2001-12-031-5/+5
| | | | Notes: svn path=/head/; revision=87258
* Reorder Makefile for style.Mark Murray2001-12-031-2/+1
| | | | Notes: svn path=/head/; revision=87257
* Fixed the race caused by not checking the result of fgets(3):Ruslan Ermilov2001-07-191-3/+10
| | | | | | | | | | | | | | | /usr/bin/env MALLOC_OPTIONS=J banner </dev/null PR: bin/29074 Fixed the problem when banner(6) would eat last character: echo -n a | banner MFC after: 1 week Notes: svn path=/head/; revision=79939
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Fix overflowing on nul character.Mike Heffner2001-05-281-1/+1
| | | | | | | | PR: bin/16926 MFC after: 1 week Notes: svn path=/head/; revision=77294
* Silence WARNS=2 and BDECFLAGS on alpha and i386Kris Kennaway2001-05-202-2/+3
| | | | | | | MFC After: 1 week Notes: svn path=/head/; revision=76888
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+2
| | | | Notes: svn path=/head/; revision=74848
* BDECFLAGS.Bill Fumerola2001-03-041-9/+7
| | | | | | | while I'm here, fix bitrotted debug code generating template. Notes: svn path=/head/; revision=73511
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Add -d and -t flags to usage. Add usage().Philippe Charnier2000-03-262-10/+29
| | | | Notes: svn path=/head/; revision=58608
* Fix buffer overflow & add $FreeBSD$Kris Kennaway1999-12-041-2/+13
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=54110
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Use const where appropriate.Steve Price1999-04-191-2/+2
| | | | | | | | | PR: 10739 Submitted by: Stephen J. Rosnowski <sjr@home.net> Obtained from: NetBSD PR 6151 Notes: svn path=/head/; revision=45802
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-062-2/+3
| | | | Notes: svn path=/head/; revision=41568
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-3/+3
| | | | Notes: svn path=/head/; revision=34801
* Fix the .Dd line.Joerg Wunsch1997-08-231-2/+3
| | | | | | | PR: docs/3275 Notes: svn path=/head/; revision=28618
* Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80).Bruce Evans1997-07-061-9/+9
| | | | Notes: svn path=/head/; revision=27226
* This commit was generated by cvs2svn to compensate for changes in r27224,Bruce Evans1997-07-061-34/+30
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=27225