[hackers] [sbase][PATCH] realpath: add man pages

From: Elie Le Vaillant <eolien55_AT_disroot.org>
Date: Mon, 4 Mar 2024 18:59:32 +0100

---
 readlink.1 |  1 +
 realpath.1 | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 realpath.1
diff --git a/readlink.1 b/readlink.1
index 46b4cad..d5993ce 100644
--- a/readlink.1
+++ b/readlink.1
_AT_@ -28,5 +28,6 @@ by recursively following every symlink in its path components.
 Do not print the terminating newline.
 .El
 .Sh SEE ALSO
+.Xr realpath 1 ,
 .Xr readlink 2 ,
 .Xr realpath 3
diff --git a/realpath.1 b/realpath.1
new file mode 100644
index 0000000..b507f67
--- /dev/null
+++ b/realpath.1
_AT_@ -0,0 +1,20 @@
+.Dd 2024-03-04
+.Dt REALPATH 1
+.Os sbase
+.Sh NAME
+.Nm realpath
+.Nd print the canonicalized absolute pathname
+.Sh SYNOPSIS
+.Nm
+.Ar file ...
+.Sh DESCRIPTION
+.Nm
+uses
+.Xr realpath 3
+to resolve all symbolic links, extra "/" characters
+and references to /./ and /../ in file, and prints
+the absolute pathname on standard output.
+.Sh SEE ALSO
+.Xr readlink 1 ,
+.Xr readlink 2 ,
+.Xr realpath 3
-- 
2.44.0
Received on Mon Mar 04 2024 - 18:59:32 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 04 2024 - 19:00:42 CET