summaryrefslogtreecommitdiff
path: root/usr.bin/tee
Commit message (Collapse)AuthorAgeFilesLines
* tee.1: Add a missing articleMateusz Piotrowski2020-06-231-1/+1
| | | | Notes: svn path=/head/; revision=362536
* tee(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-06-231-2/+4
| | | | | | | | | | Add one simple example Approved by: bcr@ Differential Revision: https://reviews.freebsd.org/D25337 Notes: svn path=/head/; revision=362534
* tee(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-06-181-1/+7
| | | | | | | | | | Probably the simplest one ever. Approved by: gbe@, 0mp@ Differential Revision: https://reviews.freebsd.org/D25206 Notes: svn path=/head/; revision=362318
* capsicum: use a new capsicum helpers in toolsMariusz Zaborski2018-11-041-1/+1
| | | | | | | Use caph_{rights,ioctls,fcntls}_limit to simplify the code. Notes: svn path=/head/; revision=340138
* Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski2018-06-191-1/+1
| | | | | | | No functional change intended. Notes: svn path=/head/; revision=335395
* sponge(1): revertEitan Adler2017-12-061-2/+0
| | | | | | | | | | | | I did a complete buildworld and test... with the program disconnected from the tree. Revert the change for now. (this keeps the change to .arclint which is still correct) Wearing: my pointhat Notes: svn path=/head/; revision=326614
* sponge(1): initial commitEitan Adler2017-12-051-0/+2
| | | | | | | | | | | | | sponge(1) is a utility that reads input until complete, then opens the output file, then writes to it. This makes it useful in pipelines that read and write to the same file. Reviewed by: wblock, jilles, imp, cem, danfe (all: various iterations) Inspired by: https://joeyh.name/code/moreutils/ Notes: svn path=/head/; revision=326554
* 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
* 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
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-11-131-0/+1
| | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=308606
* Remove the duplicated code using Capsicum helpers.Mariusz Zaborski2016-10-071-23/+9
| | | | | | | | Reviewed by: cem, ed, bapt, emaste Differential Revision https://reviews.freebsd.org/D8140 Notes: svn path=/head/; revision=306813
* Capsicum-ize tee(1)Baptiste Daroussin2016-09-181-1/+34
| | | | | | | | Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D7940 Notes: svn path=/head/; revision=305937
* 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
* Reverting last change r231449 (fix bin/164947) due to concerns voicedMartin Cracauer2012-02-111-23/+3
| | | | | | | | on src-committers and the fact that I can only take care of this in a week. Notes: svn path=/head/; revision=231524
* Fix bin/164947: tee looses data when writing to non-blocking file descriptorsMartin Cracauer2012-02-101-3/+23
| | | | | | | | | | | tee was not handling EAGAIN patch submitted by Diomidis Spinellis <dds@aueb.gr>. Thanks so much reproduced and re-tested locally Notes: svn path=/head/; revision=231449
* Add missing static keywords to tee(1)Ed Schouten2011-11-061-3/+3
| | | | Notes: svn path=/head/; revision=227187
* 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
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+1
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-1/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* - Steal short description from POSIX; it's more technical and wasRuslan Ermilov2007-11-131-4/+4
| | | | | | | | easier to translate. - Fix some markup nits. Notes: svn path=/head/; revision=173581
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* ANSIify function definitions.David Malone2002-09-041-10/+6
| | | | | | | | | | | | 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
* Use err instead of errx when malloc fails. "malloc" is not a helpfulTim J. Robbins2002-07-051-2/+2
| | | | | | | error message. Notes: svn path=/head/; revision=99433
* Revert part of the previous revision. Changing exit() to return() in main()Juli Mallett2002-05-171-1/+1
| | | | | | | | | | | | | | is wrong, even though our C compiler doesn't understand that exit() eats control of the program, and as such can sometimes complain that main() reaches the bottom of its body without an explicit return(). Aside from that, the functional usefulness of changing it is effectively nil, so back it out. Submitted by: mike Notes: svn path=/head/; revision=96803
* Remove spurious casts in malloc(3)'s argument.Juli Mallett2002-05-171-3/+3
| | | | | | | Use `return' instead of `exit' at the bottom of main(). Notes: svn path=/head/; revision=96776
* remove __PWarner Losh2002-03-221-2/+2
| | | | Notes: svn path=/head/; revision=92922
* Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default.Mark Murray2001-12-121-1/+0
| | | | Notes: svn path=/head/; revision=87714
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-101-1/+1
| | | | | | | | | | | 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
* Warns cleanups. Add FreeBSD ID to Makefile.David Malone2001-12-032-3/+5
| | | | Notes: svn path=/head/; revision=87303
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Add DIAGNOSTICS section namePhilippe Charnier2000-03-261-2/+2
| | | | Notes: svn path=/head/; revision=58628
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Use err(3) instead of local redefinition. Add usage().Philippe Charnier1997-08-142-51/+29
| | | | Notes: svn path=/head/; revision=28199
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+261
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590