summaryrefslogtreecommitdiffstats
path: root/usr.bin/look
Commit message (Collapse)AuthorAgeFilesLines
* Add missing static keywords to look(1)ed2011-11-061-13/+13
|
* Sort header file names.ed2011-10-171-1/+1
| | | | Spotted by: des
* Add missing #include.ed2011-10-161-0/+1
| | | | Note to myself: don't write patches while watching a movie.
* Don't cast SIZE_T_MAX to off_t.ed2011-10-161-1/+1
| | | | | | | | | I focused so much on the 32-bits case where we have to cast SIZE_T_MAX up in size, that I forgot about the 64-bits case, where off_t and size_t are equal in size. Simply cast both numbers to uintmax_t, as we can assume st_size is never negative. Reported by: cperciva
* Build look(1) with WARNS=6.ed2011-10-142-3/+1
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-113-12/+2
| | | | | | | | | 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-0/+3
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Don't try to mmap the contents of empty files. This behaviour was harmlesscperciva2009-08-261-0/+4
| | | | | | | | | | | prior to r195693, since historical behaviour of mmap(2) was to silently ignore length-zero mmap requests; but mmap now returns EINVAL, which caused look(1) to emit an error message and fail. Among other things, this makes `freebsd-update fetch` on a newly installed 8.0-BETA3 system print bogus warning messages. MFC after: 3 days
* Remove break after return.stefanf2006-07-181-2/+0
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Sort sections.tjr2004-07-191-3/+3
|
* Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENTtjr2004-07-191-3/+15
| | | | | section. Re-add a sentence from the BUGS section that went missing in the previous commit.
* Add support for multibyte characters. While here, fix a longstanding bug intjr2004-07-192-59/+68
| | | | | the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered.
* Point out in the BUGS section that look expects input files to havetjr2004-07-191-0/+7
| | | | been sorted with LC_COLLATE=C.
* Document incorrect handling of multibyte characters.tjr2004-07-171-1/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+2
|
* Introduce options definition the standard way.charnier2003-06-091-2/+2
|
* ANSIify function definitions.dwmalone2002-09-041-18/+11
| | | | | | | | | 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
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Fix a const-char vs char issue.markm2002-04-281-1/+3
|
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* remove __Pimp2002-03-221-6/+6
|
* Warns cleanup - not ready for WARNS=2 yet.dwmalone2001-12-031-2/+3
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-1/+1
|
* $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
* Support multiple databases. For examplewosch1998-08-312-25/+25
| | | | $ look miau dict1 dict2 dict3
* revert: The warning was supposed to irritate someone into fixing this.jkh1997-09-151-3/+2
|
* unsigned char -> caddr_t for mmap's return value.jkh1997-09-151-2/+3
|
* Use err(3) instead of local redefinition.charnier1997-07-232-42/+18
|
* 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-2/+5
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Use the .At macro where appropriate.mpp1996-08-231-1/+2
|
* Make it works with 8bit charsetsache1995-10-291-15/+18
| | | | Add setlocale LC_CTYPE
* Remove trailing whitespace.rgrimes1995-05-301-31/+31
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+502
OpenPOWER on IntegriCloud