Annotation of src/usr.bin/realpath/realpath.1, Revision 1.1
1.1 ! kn 1: .\" $OpenBSD: $
! 2: .\"
! 3: .\" Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
! 4: .\"
! 5: .\" Permission to use, copy, modify, and distribute this software for any
! 6: .\" purpose with or without fee is hereby granted, provided that the above
! 7: .\" copyright notice and this permission notice appear in all copies.
! 8: .\"
! 9: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
! 10: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
! 11: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
! 12: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
! 13: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
! 14: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
! 15: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! 16: .\"
! 17: .Dd $Mdocdate: October 11 2021 $
! 18: .Dt REALPATH 1
! 19: .Os
! 20: .Sh NAME
! 21: .Nm realpath
! 22: .Nd print the canonicalized absolute pathname
! 23: .Sh SYNOPSIS
! 24: .Nm
! 25: .Op Fl q
! 26: .Ar file
! 27: .Sh DESCRIPTION
! 28: The
! 29: .Nm
! 30: utility uses
! 31: .Xr realpath 3
! 32: to resolve all symbolic links, extra
! 33: .Dq /
! 34: characters and references to
! 35: .Pa /./
! 36: and
! 37: .Pa /../
! 38: in
! 39: .Ar file ,
! 40: and prints the absolute pathname on standard output.
! 41: .Pp
! 42: The options are as follows:
! 43: .Bl -tag -width Ds
! 44: .It Fl q
! 45: Do not print errors.
! 46: .El
! 47: .Sh EXIT STATUS
! 48: .Ex -std
! 49: .Sh SEE ALSO
! 50: .Xr readlink 1 ,
! 51: .Xr realpath 3
! 52: .Sh HISTORY
! 53: The
! 54: .Nm
! 55: utility first appeared in
! 56: .Ox 7.1 .