summaryrefslogtreecommitdiffstats
path: root/usr.bin/which
Commit message (Collapse)AuthorAgeFilesLines
* Mark global functions and/or variables in which(1) static where possible.ed2011-11-061-2/+2
| | | | This allows compilers and static analyzers to more thorough analysis.
* Refine the previous revision.ru2006-12-131-1/+1
|
* "which -s" will return 0 only if all executables were found, not "any".ru2006-12-131-2/+2
|
* Require at least one argument.ru2005-02-102-10/+6
|
* Sort sections.ru2005-01-181-5/+5
|
* Handle relative and absolute pathnames (anything with a `/' in it) in the sametjr2002-06-301-1/+1
| | | | | | way as execve(2), and the old perl which(1). PR: 35718
* Treat empty PATH elements as "." for tradition and consistency with thetjr2002-06-301-1/+3
| | | | | | old Perl which(1) script. PR: 35719
* Give a C rewriter the necessary credit.ru2002-06-211-3/+9
| | | | Requested by: Daniel Papasian <dpapasia@andrew.cmu.edu>
* which(1) was once a Perl script.ru2002-05-301-1/+0
|
* Use `The .Nm utility'charnier2002-04-201-1/+3
|
* Off by one error in checking max file name length.wosch2002-03-091-1/+1
|
* Use FBSDID(), WARNS=2 fix.markm2001-12-111-3/+5
| | | | Mkaefile does not use WARNS=2 beacuse this will be made default.
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+1
|
* 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 new features of the Nm macro.ru2000-11-201-1/+1
|
* Get rid of the old version.green2000-08-291-60/+0
|
* Use a C version of which(1).green2000-08-292-8/+146
| | | | | Submitted by: Dan Papasian <bugg@bugg.strangled.net> Reviewed by: jhb
* Add a missing .El macro.sheldonh2000-01-141-0/+1
|
* Correct some hard sentence breaks. Only those surrounding the previoussheldonh1999-09-141-2/+2
| | | | | | | | commit and those which cause ugly nroff output have been fixed, since the purpose of the style guideline which they contravene is to reduce the sizes of deltas. Reported by: bde
* Improve shell documentation:sheldonh1999-09-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * Consistently misspell built-in as builtin. * Add a builtin(1) manpage and create builtin(1) MLINKS for all shell builtin commands for which no standalone utility exists. These MLINKS replace those that were created for csh(1). * Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages, as well as to the manpages of standalone utilities which are supported as shell builtin commands in at least one of the shells. In such manpages, explain that similar functionality may be provided as a shell builtin command. * Improve sh(1)'s description of the cd builtin command. Csh(1) already describes it adequately. Replace the cd(1) manpage with a builtin(1) MLINKS link. * Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use Ic instead of Xr for shell builtin commands. * Undo English contractions. Reviewed by: mpp, rgrimes
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Added myself as maintainer.wosch1999-02-091-0/+4
|
* Sort SEE ALSO section alphabetically.jkoshy1998-05-221-3/+3
|
* Add cross references for find(1), locate(1), whereis(1) and which(1).jkoshy1998-05-151-1/+4
| | | | | Submitted by: Josh Gillam <josh@quick.net> PR: docs/6642
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Search for proper executables, ignore directorieshelbig1998-02-011-3/+3
|
* Don't ignore empty components of $PATH, i. e. colon at the beginning,helbig1998-01-021-1/+6
| | | | | | the end or two successive colons. Reviewed and improved by wosch.
* Cosmetic in usage string. Mdocify author section.charnier1997-08-262-5/+6
|
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* fix perl indention stylewosch1996-10-271-13/+11
|
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-272-23/+16
|
* Use the .Fx macro where appropriate.mpp1996-08-231-2/+3
|
* replace shell comment char ``#'' with troff comment command ``.\"''wosch1996-08-171-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-62/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Submitted by: Wolfram Schneider <w@cs.tu-berlin.de>asami1995-08-021-2/+2
| | | | | The currently (1995/07/31 04:22:07) implemented if (-x "$prog") { works only if you have '.' in your $PATH variable.
* Submitted by: Torbjorn Granlund <tege@matematik.su.se>asami1995-07-311-7/+12
| | | | | * /usr/bin/which doesn't work if a complete path is passed to it. This is incompatible with other flavours of Unix, Here is a suggested patch:
* Change `install' to `${INSTALL}' as usual.bde1995-07-251-2/+2
| | | | Remove the extra slash in ${DESTDIR}/${BINDIR}.
* Unify the copyright notice.jkh1995-01-302-5/+5
|
* Cleanup.asami1995-01-301-9/+3
| | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
* Add a `-s' flag for `silent' processing. Make the script return 0 forasami1995-01-282-5/+28
| | | | success and 1 for failure. Describe the options in manpage.
* Put in a much less bogus Makefile on advice from Bruce.jkh1995-01-281-7/+5
|
* Use the better perl script version of which submitted by Wolfram.jkh1995-01-263-0/+117
| | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
* Bring in Joerg's which command. It's small, it's simple, it will stopjkh1995-01-251-0/+62
people (like me! :) from whining! Submitted by: joerg
OpenPOWER on IntegriCloud