summaryrefslogtreecommitdiff
path: root/usr.bin/tail
AgeCommit message (Collapse)Author
2014-06-03Actually, we've handled FIFOs on stdin in accordance with POSIX since 1996.Philip Guenther
query and ok jmc@
2014-05-31tweak previous;Jason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-11-13Backout previous commit, there are still some issues with it.Landry Breuil
ok sthen@
2008-10-17Permit tail -f to follow multiple files, useful when you want to monitorLandry Breuil
several logfiles in a single terminal. split forward() and move the corresponding -rewritten- code to follow(). Closes PR 5092. ok millert@ gilles@ sobrado@
2008-06-02fix double free which can happen if the last line has no newline;Otto Moerbeek
from Matthew Dempsky; ok ray@ millert@
2007-10-31sync usage() w/ synopsis; from Pierre RiteauJason McIntyre
ok sobrado
2007-10-22use EV_SET() instead of doing it by hand; Iruata SouzaTheo de Raadt
2007-09-29unneeded includes and whitespace police; from Igor ZinovikOtto Moerbeek
2007-09-16Another mem leak plugged. With help from Igor Zinovi. ok millert@Otto Moerbeek
2007-09-13Plug mem leak. From Igor Zinovik; ok millert@Otto Moerbeek
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-12-28- less macros needed in SYNOPSISJason McIntyre
- sort options
2006-10-02- simplify a list itemJason McIntyre
- use .Ex
2006-10-02reword a clunky sentence;Jason McIntyre
2006-03-24ANSIfy. Ok ray@Kjell Wooding
2006-03-22Clean up some lint and -Wall.Kjell Wooding
Changed many signed types ->size_t for consistency. Also, fix some realloc usage. Original from <jasonrcrawford at gmail.com> (ok ray@) Additions and additional cleanup to fix some off_t -> size_t issue by me. "looks good" otto@
2004-03-12If kqueue is not available, revert back to old behavior. Unbreaks tail -fOtto Moerbeek
on NFS and other filesystems not supporting kqueues. ok tedu@ millert@
2004-03-01Unbreak file truncation handling. Resolves PR 3689.Otto Moerbeek
ok tdeval@ millert@
2004-02-16make -b and -c work with large offsets; tweak from millert@Otto Moerbeek
ok henning@ itojun@ millert@
2003-07-14typo in comment. ok henning@Otto Moerbeek
2003-07-01rewrite to not use mmap(2). solves a bunch of issues:Henning Brauer
- No more I/O related SEGVs (PR 2337?). - Performance linear to size of output, not input file size, even for very large files. Same for -r. - Reverse tail also works for very large files. - Very large values of n possible, even for very large files. Same for -r. work by Otto Moerbeek <otto@drijf.net> tested by and ok millert@ and myself
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-08strlcpy conversion, increase buffer size by one char. ok millert@Daniel Hartmeier
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-08-18Use kqueue for -f.Artur Grabowski
2001-07-17-Wall cleanup; ok deraadtPeter Valchev
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2000-11-21When doing tail -f from stdin don't reopen a local file named stdin.Artur Grabowski
2000-10-12MAP_FAILED, not -1Artur Grabowski
2000-10-07- Add EXAMPLES section.Aaron Campbell
- Document that -number is a synonym for -n number. - Some minor formatting changes.
2000-06-23Get rid of repeating error messages; From netbsd millert@ okEric Jackson
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-01-22ie. -> i.e.,Aaron Campbell
1999-08-04supply particular mapping type to the mmap(2) instead of bogus 0Michael Shalayeff
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-04-29don't step on the tail if there is no one, or core dumps; millert - yesMichael Shalayeff
1999-02-03Fix broken conversion of private err() function and make ierr() and oerr()Todd C. Miller
back into functions, not macros. Also make functions that call mmap() return an int so we can fall back to non-mmap (slow) version on mmap failure. Noticable effects: o when you tail multiple files, if one of the files doesn't exist or is otherwise broken, keep on going to the next file. o it is now possible to tail files > 2gig, though it will be *very* slow since tail will be unable to use mmap()
1998-12-16more .Nm fixesAaron Campbell
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell
1998-09-06More man page fixes. Spelling, grammar, some typos. Lots of double-wordAaron Campbell
occurrences squashed as well.
1997-09-21$OpenBSD$Theo de Raadt
1997-05-30In -f mode notice when the file has been replace or truncated andTodd C. Miller
deal. Useful for tail'ing log files that get rotated.
1997-05-29why select(2) when you can sleep(3) cheap?kstailey