realpath.1 (1082b6873682a1ccab5ab3e76612fea56ca50023) realpath.1 (468e81775d3f2a1c37ef4695ccadb3f34d06bd59)
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 24 unchanged lines hidden (view full) ---

33.\" SUCH DAMAGE.
34.\"
35.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
36.\" From: src/bin/pwd/pwd.1,v 1.11 2000/11/20 11:39:39 ru Exp
37.\" $FreeBSD$
38.\"
39.Dd November 24, 2000
40.Dt REALPATH 1
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 24 unchanged lines hidden (view full) ---

33.\" SUCH DAMAGE.
34.\"
35.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
36.\" From: src/bin/pwd/pwd.1,v 1.11 2000/11/20 11:39:39 ru Exp
37.\" $FreeBSD$
38.\"
39.Dd November 24, 2000
40.Dt REALPATH 1
41.Os FreeBSD 5.0
41.Os FreeBSD
42.Sh NAME
43.Nm realpath
44.Nd return resolved physical path
45.Sh SYNOPSIS
46.Nm
47.Ar path
48.Sh DESCRIPTION
42.Sh NAME
43.Nm realpath
44.Nd return resolved physical path
45.Sh SYNOPSIS
46.Nm
47.Ar path
48.Sh DESCRIPTION
49.Nm realpath
49.Nm
50uses the
51.Xr realpath 3
50uses the
51.Xr realpath 3
52function to resolve all symbolic links, extra
53.Qo
54/
55.Qc
56characters and references to
57.Pa /./
58and
52function to resolve all symbolic links, extra
53.Ql /
54characters and references to
55.Pa /./
56and
59.Pa /../
60in
61.Ar path .
57.Pa /../
58in
59.Ar path .
62.Pp
63.Sh DIAGNOSTICS
64The
65.Nm
66utility exits 0 on success, and >0 if an error occurs.
67.Sh SEE ALSO
60.Sh DIAGNOSTICS
61The
62.Nm
63utility exits 0 on success, and >0 if an error occurs.
64.Sh SEE ALSO
68.Xr realpath 3
65.Xr realpath 3
66.Sh HISTORY
67The
68.Nm
69utility first appeared in
70.Fx 5.0 .