aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/which
Commit message (Collapse)AuthorAgeFilesLines
* Handle relative and absolute pathnames (anything with a `/' in it) in the sameTim J. Robbins2002-06-301-1/+1
| | | | | | | | | way as execve(2), and the old perl which(1). PR: 35718 Notes: svn path=/head/; revision=99120
* Treat empty PATH elements as "." for tradition and consistency with theTim J. Robbins2002-06-301-1/+3
| | | | | | | | | old Perl which(1) script. PR: 35719 Notes: svn path=/head/; revision=99118
* Give a C rewriter the necessary credit.Ruslan Ermilov2002-06-211-3/+9
| | | | | | | Requested by: Daniel Papasian <dpapasia@andrew.cmu.edu> Notes: svn path=/head/; revision=98543
* which(1) was once a Perl script.Ruslan Ermilov2002-05-301-1/+0
| | | | Notes: svn path=/head/; revision=97565
* Use `The .Nm utility'Philippe Charnier2002-04-201-1/+3
| | | | Notes: svn path=/head/; revision=95124
* Off by one error in checking max file name length.Wolfram Schneider2002-03-091-1/+1
| | | | Notes: svn path=/head/; revision=91945
* Use FBSDID(), WARNS=2 fix.Mark Murray2001-12-111-3/+5
| | | | | | | Mkaefile does not use WARNS=2 beacuse this will be made default. Notes: svn path=/head/; revision=87678
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+1
| | | | Notes: svn path=/head/; revision=81588
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Get rid of the old version.Brian Feldman2000-08-291-60/+0
| | | | Notes: svn path=/head/; revision=65227
* Use a C version of which(1).Brian Feldman2000-08-292-8/+146
| | | | | | | | Submitted by: Dan Papasian <bugg@bugg.strangled.net> Reviewed by: jhb Notes: svn path=/head/; revision=65226
* Add a missing .El macro.Sheldon Hearn2000-01-141-0/+1
| | | | Notes: svn path=/head/; revision=55963
* Correct some hard sentence breaks. Only those surrounding the previousSheldon Hearn1999-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 Notes: svn path=/head/; revision=51275
* Improve shell documentation:Sheldon Hearn1999-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 Notes: svn path=/head/; revision=51090
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Added myself as maintainer.Wolfram Schneider1999-02-091-0/+4
| | | | Notes: svn path=/head/; revision=43805
* Sort SEE ALSO section alphabetically.Joseph Koshy1998-05-221-3/+3
| | | | Notes: svn path=/head/; revision=36301
* Add cross references for find(1), locate(1), whereis(1) and which(1).Joseph Koshy1998-05-151-1/+4
| | | | | | | | Submitted by: Josh Gillam <josh@quick.net> PR: docs/6642 Notes: svn path=/head/; revision=36057
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-2/+2
| | | | Notes: svn path=/head/; revision=34801
* Search for proper executables, ignore directoriesWolfgang Helbig1998-02-011-3/+3
| | | | Notes: svn path=/head/; revision=32994
* Don't ignore empty components of $PATH, i. e. colon at the beginning,Wolfgang Helbig1998-01-021-1/+6
| | | | | | | | | the end or two successive colons. Reviewed and improved by wosch. Notes: svn path=/head/; revision=32188
* Cosmetic in usage string. Mdocify author section.Philippe Charnier1997-08-262-5/+6
| | | | Notes: svn path=/head/; revision=28790
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* fix perl indention styleWolfram Schneider1996-10-271-13/+11
| | | | Notes: svn path=/head/; revision=19207
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-272-23/+16
| | | | Notes: svn path=/head/; revision=17849
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-2/+3
| | | | Notes: svn path=/head/; revision=17786
* replace shell comment char ``#'' with troff comment command ``.\"''Wolfram Schneider1996-08-171-2/+2
| | | | Notes: svn path=/head/; revision=17640
* This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-301-62/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* Submitted by: Wolfram Schneider <w@cs.tu-berlin.de>Satoshi 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. Notes: svn path=/head/; revision=9852
* Submitted by: Torbjorn Granlund <tege@matematik.su.se>Satoshi 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: Notes: svn path=/head/; revision=9809
* Change `install' to `${INSTALL}' as usual.Bruce Evans1995-07-251-2/+2
| | | | | | | Remove the extra slash in ${DESTDIR}/${BINDIR}. Notes: svn path=/head/; revision=9700
* Unify the copyright notice.Jordan K. Hubbard1995-01-302-5/+5
| | | | Notes: svn path=/head/; revision=6049
* Cleanup.Satoshi Asami1995-01-301-9/+3
| | | | | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=6041
* Add a `-s' flag for `silent' processing. Make the script return 0 forSatoshi Asami1995-01-282-5/+28
| | | | | | | success and 1 for failure. Describe the options in manpage. Notes: svn path=/head/; revision=5992
* Put in a much less bogus Makefile on advice from Bruce.Jordan K. Hubbard1995-01-281-7/+5
| | | | Notes: svn path=/head/; revision=5984
* Use the better perl script version of which submitted by Wolfram.Jordan K. Hubbard1995-01-263-0/+117
| | | | | | | Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de> Notes: svn path=/head/; revision=5944
* Bring in Joerg's which command. It's small, it's simple, it will stopJordan K. Hubbard1995-01-251-0/+62
people (like me! :) from whining! Submitted by: joerg Notes: svn path=/cvs2svn/branches/which/; revision=5887