xref: /freebsd/bin/realpath/realpath.1 (revision 874506698f79dd2ca01b71552feed3cd28d6e901)
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
41caa2db3bSRuslan Ermilov.Os
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
4987450669SPhilippe CharnierThe
50468e8177SRuslan Ermilov.Nm
5187450669SPhilippe Charnierutility uses the
521082b687SPoul-Henning Kamp.Xr realpath 3
531082b687SPoul-Henning Kampfunction to resolve all symbolic links, extra
54468e8177SRuslan Ermilov.Ql /
551082b687SPoul-Henning Kampcharacters and references to
561082b687SPoul-Henning Kamp.Pa /./
571082b687SPoul-Henning Kampand
581082b687SPoul-Henning Kamp.Pa /../
591082b687SPoul-Henning Kampin
601082b687SPoul-Henning Kamp.Ar path .
611082b687SPoul-Henning Kamp.Sh DIAGNOSTICS
62d628d776SRuslan Ermilov.Ex -std
631082b687SPoul-Henning Kamp.Sh SEE ALSO
641082b687SPoul-Henning Kamp.Xr realpath 3
65468e8177SRuslan Ermilov.Sh HISTORY
66468e8177SRuslan ErmilovThe
67468e8177SRuslan Ermilov.Nm
68468e8177SRuslan Ermilovutility first appeared in
6918e73fc0SRuslan Ermilov.Fx 4.3 .
70