summaryrefslogtreecommitdiffstats
path: root/bin/pwd
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-1/+1
|
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-161-6/+6
| | | | Sort standard sections in the (documented) preferred order.
* /*- or .\"- or #- to begin license clauses.imp2005-01-102-1/+2
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Remove clause 3 from the UCB licenses.markm2004-04-062-8/+0
| | | | OK'ed by: imp, core
* Rename a local variable in order to avoid collision with standard 'log'kan2003-06-301-3/+3
| | | | function.
* mdoc(7) police: A better version of the same.ru2003-05-161-1/+1
| | | | Approved by: re (blanket)
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* Document the -L and -P options as being mutually exclusive.tjr2003-04-121-2/+2
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Back out part of previous commit: make -P the default again until I'mtjr2002-05-182-2/+2
| | | | convinced it's a good idea.
* Make -L the default, allow both -L and -P to be specified (last one usedtjr2002-05-182-11/+16
| | | | matters), fall back to -P mode if we can't get the logical directory.
* Use `The .Nm utility'charnier2002-04-161-2/+3
|
* mdoc(7) police: use precise width specifier.ru2002-03-151-1/+1
|
* Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1',mike2002-02-111-68/+0
| | | | as part of the move to seperate realpath(1) into its own directory.
* o Remove old code from pwd(1); realpath(1) is now in its own directory.mike2002-02-112-19/+3
| | | | | o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build.
* Use the getprogname(3) function instead of directly accessingmike2002-02-101-4/+2
| | | | | | `__progname'. Submitted by: dd
* Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) wouldmike2002-02-042-28/+84
| | | | | | | | complain about paths starting with `-', by not calling getopt(3). Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Obtained from: NetBSD (partially) MFC after: 1 month
* o __P has been reovedimp2002-02-021-6/+3
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-2/+0
| | | | | | set WARNS=0. Reviewed by: mike
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-152-6/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-2/+2
|
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* PATH_MAX in preference to MAXPATHLEN.imp2001-05-301-1/+2
|
* Silence WARNS=2 and BDECFLAGS on i386 and alpha.kris2001-05-202-1/+4
| | | | MFC After: 1 week
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.ru2001-02-221-1/+1
| | | | | Submitted by: "Stephen L. Palmer" <slpalmer@mail.com> Forgotten by: asmodai
* Don't call err() with user data and without a format stringkris2000-11-261-1/+1
|
* mdoc(7) police: minor fixes.ru2000-11-241-11/+13
|
* Let the pwd program double as realpath(1).phk2000-11-244-6/+88
| | | | | | | | | This lets you resolve pathnames to their underlying physical path: critter# realpath /sys/kern/subr_disk.c /freebsd/src/sys/kern/subr_disk.c Update the pwd man-page slightly.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Correct some hard sentence breaks. Only those surrounding the previoussheldonh1999-09-141-4/+4
| | | | | | | | 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-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-273-3/+3
|
* Various spelling/formatting changes.kris1999-05-081-4/+6
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Indicate that the thing not found was not /bin/pwd but rather $CWD (or .).jkh1998-11-211-2/+2
|
* Correct use of .Nm. Add rcsid.charnier1998-05-152-6/+8
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* Merge Lite2 mods, cleanup man page, and -Wall cleaning.steve1996-12-142-9/+9
|
* Added $Id$dg1994-09-243-0/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+165
OpenPOWER on IntegriCloud