summaryrefslogtreecommitdiffstats
path: root/usr.bin/head
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * sync from headsjg2013-04-121-1/+14
| |\ | |/ |/|
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | Remove EOL whitespace accidentally introduced in r248393.joel2013-03-171-1/+1
| |
* | Add a couple of examples.joel2013-03-161-1/+14
|/ | | | Obtained from: OpenBSD
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-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
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Fix build on architectures where off_t is signed by casting to uintmax_tbrooks2007-01-111-1/+1
| | | | before comparing with a size_t.
* Fix head -c ### where ### is greater than 2^31. Unlike the submittedbrooks2007-01-112-4/+8
| | | | | | | | | | patch this uses off_t. WARNSify and add $FreeBSD$ to Makefile. PR: bin/107824 Submitted by: Brian Cornell <briancornell at earthlink dot net> MFC after: 3 days
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Remove duplicate __FBSDID() - spotted by trying to build with a non-GNUjmallett2002-07-231-3/+0
| | | | compiler.
* Consistently use FBSDIDobrien2002-06-301-0/+2
|
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-2/+1
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* Fix VCS tags; ANSIfy functionsmarkm2002-04-281-14/+8
|
* 1) Staticise.dwmalone2002-03-301-13/+13
| | | | | 2) Remove registers. 3) Change some ints to size_t which are used with fread/fwrite.
* remove __Pimp2002-03-221-4/+4
|
* mdoc(7) police: pedantry.ru2002-03-151-4/+1
|
* Make usage message and man page synopsis reflect the fact that -ndwmalone2002-01-242-3/+5
| | | | | | | | and -c are mutually exclusive. PR: 34233 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* In order to perform faster when doing "head -n", use a pair ofalfred2001-11-021-7/+8
| | | | | fgetln/fwrite instead of getc/putchar, this seems about five times faster.
* change a global into a local, misc style fixesalfred2001-11-021-7/+5
|
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-4/+2
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-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
* fread() returns 0 on eof or error, not EOF. This fixes the followingdes1998-10-091-2/+2
| | | | | | | | | | bug: "head -c <n>" never exit and loops forever (until it is killed), if the input stream has fewer bytes than specified (n). PR: bin/8225 Submitted-by: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
* Setting eval to 1 after calling warn was the original behaviour.charnier1997-07-111-1/+2
|
* Use err(3) instead of local redefinition.charnier1997-07-101-42/+14
|
* Support for -c, byte count.alex1997-04-062-8/+49
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-3/+5
|
* first check the count and then getwosch1996-02-261-1/+1
| | | | | | | the next line of characters and not cause it to first get the characters even if the count (cnt) has become 0. Submitted by: R Bezuidenhout <rbezuide@mikom.csir.co.za>
* head(1) ignored EOFs (in certain cases).joerg1995-08-151-3/+2
| | | | | | Closes PR # bin/678: head(1) ignore EOF Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+254
OpenPOWER on IntegriCloud