summaryrefslogtreecommitdiffstats
path: root/bin/realpath
Commit message (Collapse)AuthorAgeFilesLines
* Enhance realpath(1) in a number of ways:rwatson2008-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>
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-161-1/+1
| | | | Sort standard sections in the (documented) preferred order.
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Remove clause 3 from the UCB licenses.markm2004-04-062-8/+0
| | | | OK'ed by: imp, core
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.johan2003-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
* Remove undocumented behavior (return current work dir if no pathjohan2002-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
* - use MAXPATHLEN per realpath(3)johan2002-12-181-2/+2
| | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike
* Check the return value of getcwd() to avoid printf()ing a NULL. Markmike2002-06-091-4/+5
| | | | | | usage() as __dead2 to avoid a GCC warning. Spotted by: keramida
* Use `The .Nm utility'charnier2002-04-201-1/+2
|
* Move the realpath(1) source into its own directory. Previously, itmike2002-02-112-0/+74
| | | | shared sources with pwd(1).
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-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
* mdoc(7) police: minor fixes.ru2000-11-241-11/+13
|
* Let the pwd program double as realpath(1).phk2000-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.
OpenPOWER on IntegriCloud