summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Actually, we've handled FIFOs on stdin in accordance with POSIX since 1996.guenther2014-06-031-11/+6
| | | | query and ok jmc@
* tweak previous;jmc2014-05-311-3/+10
|
* add an EXIT STATUS section for /usr/bin;jmc2010-09-031-3/+3
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-275-47/+5
| | | | | | | 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
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
| | | | updates to follow;
* Backout previous commit, there are still some issues with it.landry2008-11-133-189/+83
| | | | ok sthen@
* Permit tail -f to follow multiple files, useful when you want to monitorlandry2008-10-173-83/+189
| | | | | | | | several logfiles in a single terminal. split forward() and move the corresponding -rewritten- code to follow(). Closes PR 5092. ok millert@ gilles@ sobrado@
* fix double free which can happen if the last line has no newline;otto2008-06-021-2/+3
| | | | from Matthew Dempsky; ok ray@ millert@
* sync usage() w/ synopsis; from Pierre Riteaujmc2007-10-311-3/+4
| | | | ok sobrado
* use EV_SET() instead of doing it by hand; Iruata Souzaderaadt2007-10-221-11/+10
|
* unneeded includes and whitespace police; from Igor Zinovikotto2007-09-294-26/+10
|
* Another mem leak plugged. With help from Igor Zinovi. ok millert@otto2007-09-161-5/+11
|
* Plug mem leak. From Igor Zinovik; ok millert@otto2007-09-131-2/+5
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - use a consistent text for STANDARDSjmc2007-05-301-8/+7
| | | | - note which options are extensions to POSIX
* - less macros needed in SYNOPSISjmc2006-12-281-7/+7
| | | | - sort options
* - simplify a list itemjmc2006-10-021-7/+3
| | | | - use .Ex
* reword a clunky sentence;jmc2006-10-021-2/+2
|
* ANSIfy. Ok ray@kjell2006-03-243-24/+11
|
* Clean up some lint and -Wall.kjell2006-03-223-22/+37
| | | | | | | | | | 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@
* If kqueue is not available, revert back to old behavior. Unbreaks tail -fotto2004-03-121-4/+7
| | | | | on NFS and other filesystems not supporting kqueues. ok tedu@ millert@
* Unbreak file truncation handling. Resolves PR 3689.otto2004-03-011-6/+7
| | | | ok tdeval@ millert@
* make -b and -c work with large offsets; tweak from millert@otto2004-02-164-20/+20
| | | | ok henning@ itojun@ millert@
* typo in comment. ok henning@otto2003-07-141-3/+3
|
* rewrite to not use mmap(2). solves a bunch of issues:henning2003-07-012-65/+87
| | | | | | | | | | | - 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
* mostly ansi cleanup; pval okderaadt2003-06-102-12/+9
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-037-47/+19
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strlcpy conversion, increase buffer size by one char. ok millert@dhartmei2003-04-081-4/+4
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-164-19/+19
|
* kill more registersmpech2001-11-194-24/+24
| | | | millert@ ok
* occured->occurredmpech2001-09-191-4/+4
| | | | | | | idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
* Use kqueue for -f.art2001-08-181-4/+51
|
* -Wall cleanup; ok deraadtpvalchev2001-07-171-3/+3
|
* avoid C sequence point issues; found by cgd@netbsd.org using a developmentpjanzen2001-01-171-4/+6
| | | | version of gcc.
* When doing tail -f from stdin don't reopen a local file named stdin.art2000-11-213-6/+9
|
* MAP_FAILED, not -1art2000-10-122-6/+6
|
* - Add EXAMPLES section.aaron2000-10-071-15/+25
| | | | | - Document that -number is a synonym for -n number. - Some minor formatting changes.
* Get rid of repeating error messages; From netbsd millert@ okericj2000-06-234-19/+31
|
* Various cleanups and standardizations.aaron2000-03-111-13/+21
|
* ie. -> i.e.,aaron2000-01-221-2/+2
|
* supply particular mapping type to the mmap(2) instead of bogus 0mickey1999-08-042-8/+8
|
* - remove trailing white spaceaaron1999-06-051-4/+4
| | | | | | | - 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... :/
* don't step on the tail if there is no one, or core dumps; millert - yesmickey1999-04-291-2/+5
|
* Fix broken conversion of private err() function and make ierr() and oerr()millert1999-02-036-50/+117
| | | | | | | | | | 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()
* more .Nm fixesaaron1998-12-161-2/+2
|
* usr.bin/ man page fixes, t-zaaron1998-10-301-3/+3
|
* More man page fixes. Spelling, grammar, some typos. Lots of double-wordaaron1998-09-061-2/+2
| | | | occurrences squashed as well.
* $OpenBSD$deraadt1997-09-211-2/+1
|
* In -f mode notice when the file has been replace or truncated andmillert1997-05-302-12/+36
| | | | deal. Useful for tail'ing log files that get rotated.
* why select(2) when you can sleep(3) cheap?kstailey1997-05-291-13/+3
|