History log of /freebsd-10-stable/bin/pwd/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
307419 16-Oct-2016 sevan

MFC r306720:
Add history section of pwd(1)
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s2/pwd.c

PR: 211787
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8104

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


141578 09-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


140353 16-Jan-2005 ru

Add the new standard EXIT STATUS section where appropriate.
Sort standard sections in the (documented) preferred order.


139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


131505 03-Jul-2004 ru

Deal with double whitespace.


127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


117078 30-Jun-2003 kan

Rename a local variable in order to avoid collision with standard 'log'
function.


115082 16-May-2003 ru

mdoc(7) police: A better version of the same.

Approved by: re (blanket)


114433 01-May-2003 obrien

Quiet warnings about copyright[].


113380 12-Apr-2003 tjr

Document the -L and -P options as being mutually exclusive.


99110 30-Jun-2002 obrien

Consistently use FBSDID


96857 18-May-2002 tjr

Back out part of previous commit: make -P the default again until I'm
convinced it's a good idea.


96831 18-May-2002 tjr

Make -L the default, allow both -L and -P to be specified (last one used
matters), fall back to -P mode if we can't get the logical directory.


94869 16-Apr-2002 charnier

Use `The .Nm utility'


92332 15-Mar-2002 ru

mdoc(7) police: use precise width specifier.


90536 11-Feb-2002 mike

Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1',
as part of the move to seperate realpath(1) into its own directory.


90535 11-Feb-2002 mike

o Remove old code from pwd(1); realpath(1) is now in its own directory.
o Fix some unordered includes in pwd(1).
o Connect realpath(1) to the build.


90458 10-Feb-2002 mike

Use the getprogname(3) function instead of directly accessing
`__progname'.

Submitted by: dd


90170 04-Feb-2002 mike

Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would
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


90110 02-Feb-2002 imp

o __P has been reoved
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.


87323 04-Dec-2001 obrien

Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike


81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


79526 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


78624 22-Jun-2001 dd

WARNS= -> WARNS?=

Submitted by: Mike Barcroft <mike@q9media.com>


77460 30-May-2001 imp

PATH_MAX in preference to MAXPATHLEN.


76879 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on i386 and alpha.

MFC After: 1 week


74845 27-Mar-2001 ru

MAN[1-9] -> MAN.


72853 22-Feb-2001 ru

Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.

Submitted by: "Stephen L. Palmer" <slpalmer@mail.com>
Forgotten by: asmodai


69195 26-Nov-2000 kris

Don't call err() with user data and without a format string


69119 24-Nov-2000 ru

mdoc(7) police: minor fixes.


69110 24-Nov-2000 phk

Let the pwd program double as realpath(1).

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.


68935 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


51275 14-Sep-1999 sheldonh

Correct some hard sentence breaks. Only those surrounding the previous
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


51090 08-Sep-1999 sheldonh

Improve shell documentation:

* 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


50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


46684 08-May-1999 kris

Various spelling/formatting changes.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


41280 21-Nov-1998 jkh

Indicate that the thing not found was not /bin/pwd but rather $CWD (or .).


36049 15-May-1998 charnier

Correct use of .Nm. Add rcsid.


24348 28-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


20419 14-Dec-1996 steve

Merge Lite2 mods, cleanup man page, and -Wall cleaning.


3044 24-Sep-1994 dg

Added $Id$


1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.