aboutsummaryrefslogtreecommitdiff
path: root/bin/realpath
Commit message (Collapse)AuthorAgeFilesLines
* Make ``realpath'' behave like ``realpath .''.Ruslan Ermilov2011-06-212-11/+15
| | | | Notes: svn path=/head/; revision=223372
* Enhance realpath(1) in a number of ways:Robert Watson2008-03-092-7/+34
| | | | | | | | | | | | | | | | - Allow realpath to accept multiple paths on the command line. - Add -q to suppress warnings if some paths can't be processed, and use getopt(3) to process flags. - Print the path being requested rather than a possibly partially processed path when a failure occurs so that you can tell which of several passed paths did fail. MFC after: 1 week PR: 112920 Submitted by: Ighighi <ighighi@gmail.com> Notes: svn path=/head/; revision=176977
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-1/+1
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-0/+1
| | | | Notes: svn path=/head/; revision=139969
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-062-8/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.Johan Karlsson2003-01-151-1/+1
| | | | | | | | | | | This also reverts the PATH_MAX -> MAXPATHLEN part of rev 1.3 of src/bin/realpath/realpath.c Requested by: imp Reviewed by: imp, bde Notes: svn path=/head/; revision=109331
* Remove undocumented behavior (return current work dir if no pathJohan Karlsson2002-12-181-5/+2
| | | | | | | | | | | is given as argument) that is not present in 4-Stable. It was introduced when realpath(1) was split out of pwd(1). The removed behavior is provided by pwd(1). Reviewed by: mike Notes: svn path=/head/; revision=108034
* - use MAXPATHLEN per realpath(3)Johan Karlsson2002-12-181-2/+2
| | | | | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike Notes: svn path=/head/; revision=108032
* Check the return value of getcwd() to avoid printf()ing a NULL. MarkMike Barcroft2002-06-091-4/+5
| | | | | | | | | usage() as __dead2 to avoid a GCC warning. Spotted by: keramida Notes: svn path=/head/; revision=98057
* Use `The .Nm utility'Philippe Charnier2002-04-201-1/+2
| | | | Notes: svn path=/head/; revision=95122
* Move the realpath(1) source into its own directory. Previously, itMike Barcroft2002-02-112-0/+74
| | | | | | | shared sources with pwd(1). Notes: svn path=/head/; revision=90523
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79526
* 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
* 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-241-0/+68
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