xref: /freebsd/bin/realpath/realpath.1 (revision 1082b6873682a1ccab5ab3e76612fea56ca50023)
11082b687SPoul-Henning Kamp.\" Copyright (c) 1990, 1993
21082b687SPoul-Henning Kamp.\"	The Regents of the University of California.  All rights reserved.
31082b687SPoul-Henning Kamp.\"
41082b687SPoul-Henning Kamp.\" This code is derived from software contributed to Berkeley by
51082b687SPoul-Henning Kamp.\" the Institute of Electrical and Electronics Engineers, Inc.
61082b687SPoul-Henning Kamp.\"
71082b687SPoul-Henning Kamp.\" Redistribution and use in source and binary forms, with or without
81082b687SPoul-Henning Kamp.\" modification, are permitted provided that the following conditions
91082b687SPoul-Henning Kamp.\" are met:
101082b687SPoul-Henning Kamp.\" 1. Redistributions of source code must retain the above copyright
111082b687SPoul-Henning Kamp.\"    notice, this list of conditions and the following disclaimer.
121082b687SPoul-Henning Kamp.\" 2. Redistributions in binary form must reproduce the above copyright
131082b687SPoul-Henning Kamp.\"    notice, this list of conditions and the following disclaimer in the
141082b687SPoul-Henning Kamp.\"    documentation and/or other materials provided with the distribution.
151082b687SPoul-Henning Kamp.\" 3. All advertising materials mentioning features or use of this software
161082b687SPoul-Henning Kamp.\"    must display the following acknowledgement:
171082b687SPoul-Henning Kamp.\"	This product includes software developed by the University of
181082b687SPoul-Henning Kamp.\"	California, Berkeley and its contributors.
191082b687SPoul-Henning Kamp.\" 4. Neither the name of the University nor the names of its contributors
201082b687SPoul-Henning Kamp.\"    may be used to endorse or promote products derived from this software
211082b687SPoul-Henning Kamp.\"    without specific prior written permission.
221082b687SPoul-Henning Kamp.\"
231082b687SPoul-Henning Kamp.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
241082b687SPoul-Henning Kamp.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
251082b687SPoul-Henning Kamp.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
261082b687SPoul-Henning Kamp.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
271082b687SPoul-Henning Kamp.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
281082b687SPoul-Henning Kamp.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
291082b687SPoul-Henning Kamp.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
301082b687SPoul-Henning Kamp.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
311082b687SPoul-Henning Kamp.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
321082b687SPoul-Henning Kamp.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
331082b687SPoul-Henning Kamp.\" SUCH DAMAGE.
341082b687SPoul-Henning Kamp.\"
351082b687SPoul-Henning Kamp.\"     @(#)pwd.1	8.2 (Berkeley) 4/28/95
361082b687SPoul-Henning Kamp.\" From: src/bin/pwd/pwd.1,v 1.11 2000/11/20 11:39:39 ru Exp
371082b687SPoul-Henning Kamp.\" $FreeBSD$
381082b687SPoul-Henning Kamp.\"
391082b687SPoul-Henning Kamp.Dd November 24, 2000
401082b687SPoul-Henning Kamp.Dt REALPATH 1
411082b687SPoul-Henning Kamp.Os FreeBSD 5.0
421082b687SPoul-Henning Kamp.Sh NAME
431082b687SPoul-Henning Kamp.Nm realpath
441082b687SPoul-Henning Kamp.Nd return resolved physical path
451082b687SPoul-Henning Kamp.Sh SYNOPSIS
461082b687SPoul-Henning Kamp.Nm
471082b687SPoul-Henning Kamp.Ar path
481082b687SPoul-Henning Kamp.Sh DESCRIPTION
491082b687SPoul-Henning Kamp.Nm realpath
501082b687SPoul-Henning Kampuses the
511082b687SPoul-Henning Kamp.Xr realpath 3
521082b687SPoul-Henning Kampfunction to resolve all symbolic links, extra
531082b687SPoul-Henning Kamp.Qo
541082b687SPoul-Henning Kamp/
551082b687SPoul-Henning Kamp.Qc
561082b687SPoul-Henning Kampcharacters and references to
571082b687SPoul-Henning Kamp.Pa /./
581082b687SPoul-Henning Kampand
591082b687SPoul-Henning Kamp.Pa /../
601082b687SPoul-Henning Kampin
611082b687SPoul-Henning Kamp.Ar path .
621082b687SPoul-Henning Kamp.Pp
631082b687SPoul-Henning Kamp.Sh DIAGNOSTICS
641082b687SPoul-Henning KampThe
651082b687SPoul-Henning Kamp.Nm
661082b687SPoul-Henning Kamputility exits 0 on success, and >0 if an error occurs.
671082b687SPoul-Henning Kamp.Sh SEE ALSO
681082b687SPoul-Henning Kamp.Xr realpath 3
69