summaryrefslogtreecommitdiff
path: root/bin/pwd
Commit message (Collapse)AuthorAgeFilesLines
* pwd(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-10-241-1/+21
| | | | | | | | | | | | Small EXAMPLES section. Add reference to realpath(1) due to similarity. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D26862 Notes: svn path=/head/; revision=367012
* pwd: mark usage as deadEitan Adler2018-06-171-1/+1
| | | | Notes: svn path=/head/; revision=335278
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Remove space at and of lineBaptiste Daroussin2017-02-111-1/+1
| | | | | | | | Reported by: make manlint MFC after: 2 days Notes: svn path=/head/; revision=313659
* Add history section of pwd(1)Sevan Janiyan2016-10-051-1/+6
| | | | | | | | | | | | http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s2/pwd.c PR: 211787 Approved by: bcr (mentor) MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D8104 Notes: svn path=/head/; revision=306720
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-1/+1
| | | | Notes: svn path=/head/; revision=141578
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-6/+6
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-102-1/+2
| | | | Notes: svn path=/head/; revision=139969
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131505
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-062-8/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Rename a local variable in order to avoid collision with standard 'log'Alexander Kabaev2003-06-301-3/+3
| | | | | | | function. Notes: svn path=/head/; revision=117078
* mdoc(7) police: A better version of the same.Ruslan Ermilov2003-05-161-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115082
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* Document the -L and -P options as being mutually exclusive.Tim J. Robbins2003-04-121-2/+2
| | | | Notes: svn path=/head/; revision=113380
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99110
* Back out part of previous commit: make -P the default again until I'mTim J. Robbins2002-05-182-2/+2
| | | | | | | convinced it's a good idea. Notes: svn path=/head/; revision=96857
* Make -L the default, allow both -L and -P to be specified (last one usedTim J. Robbins2002-05-182-11/+16
| | | | | | | matters), fall back to -P mode if we can't get the logical directory. Notes: svn path=/head/; revision=96831
* Use `The .Nm utility'Philippe Charnier2002-04-161-2/+3
| | | | Notes: svn path=/head/; revision=94869
* mdoc(7) police: use precise width specifier.Ruslan Ermilov2002-03-151-1/+1
| | | | Notes: svn path=/head/; revision=92332
* Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1',Mike Barcroft2002-02-111-68/+0
| | | | | | | as part of the move to seperate realpath(1) into its own directory. Notes: svn path=/head/; revision=90536
* o Remove old code from pwd(1); realpath(1) is now in its own directory.Mike Barcroft2002-02-112-19/+3
| | | | | | | | o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build. Notes: svn path=/head/; revision=90535
* Use the getprogname(3) function instead of directly accessingMike Barcroft2002-02-101-4/+2
| | | | | | | | | `__progname'. Submitted by: dd Notes: svn path=/head/; revision=90458
* Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) wouldMike Barcroft2002-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 Notes: svn path=/head/; revision=90170
* o __P has been reovedWarner Losh2002-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. Notes: svn path=/head/; revision=90110
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-2/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-152-6/+2
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-102-2/+2
| | | | Notes: svn path=/head/; revision=79526
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-2/+2
| | | | Notes: svn path=/head/; revision=79366
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* PATH_MAX in preference to MAXPATHLEN.Warner Losh2001-05-301-1/+2
| | | | Notes: svn path=/head/; revision=77460
* Silence WARNS=2 and BDECFLAGS on i386 and alpha.Kris Kennaway2001-05-202-1/+4
| | | | | | | MFC After: 1 week Notes: svn path=/head/; revision=76879
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74845
* Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.Ruslan Ermilov2001-02-221-1/+1
| | | | | | | | Submitted by: "Stephen L. Palmer" <slpalmer@mail.com> Forgotten by: asmodai Notes: svn path=/head/; revision=72853
* Don't call err() with user data and without a format stringKris Kennaway2000-11-261-1/+1
| | | | Notes: svn path=/head/; revision=69195
* mdoc(7) police: minor fixes.Ruslan Ermilov2000-11-241-11/+13
| | | | Notes: svn path=/head/; revision=69119
* Let the pwd program double as realpath(1).Poul-Henning Kamp2000-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. Notes: svn path=/head/; revision=69110
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68935
* Correct some hard sentence breaks. Only those surrounding the previousSheldon Hearn1999-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 Notes: svn path=/head/; revision=51275
* Improve shell documentation:Sheldon Hearn1999-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 Notes: svn path=/head/; revision=51090
* $Id$ -> $FreeBSD$Peter Wemm1999-08-273-3/+3
| | | | Notes: svn path=/head/; revision=50471