summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-12-27 00:30:23 +0000
committerPádraig Brady <P@draigBrady.com>2012-01-03 11:36:32 +0000
commit77ea441f79aa115f79b47d9c1fc9c0004c5c7111 (patch)
tree8228c30cde49ff735ca71b2ef9044a1ef833fe36 /man
parent76352c770e37de94140e0df4534462ff553c798b (diff)
downloadcoreutils-77ea441f79aa115f79b47d9c1fc9c0004c5c7111.tar.xz
realpath: a new program to print the resolved path
This program is compatible with other realpath(1) implementations, and also incorporates relpath like support, through the --relative options. The relpath support was suggested by Peng Yu, who also provided an initial implemenation of that functionality. * AUTHORS: Add my name. * NEWS: Mention the new command. * README: Likewise. * doc/coreutils.texi (realpath invocation): Add realpath info. * man/Makefile.am (realpath.1): Add dependency. * man/realpath.x: New template. * man/.gitignore: Ignore generated man page. * po/POTFILES.in: Add src/realpath.c. * src/.gitignore: Exclude realpath. * src/Makefile.am (EXTRA_PROGRAMS): Add realpath. * src/realpath.c: New file. * scripts/git-hooks/commit-msg: Add realpath to the list of prefixes. * tests/Makefile.am (TESTS): Add misc/realpath. * tests/misc/realpath: New file.
Diffstat (limited to 'man')
-rw-r--r--man/.gitignore1
-rw-r--r--man/Makefile.am1
-rw-r--r--man/realpath.x6
3 files changed, 8 insertions, 0 deletions
diff --git a/man/.gitignore b/man/.gitignore
index 2c2ffcdef..9ae1183ed 100644
--- a/man/.gitignore
+++ b/man/.gitignore
@@ -59,6 +59,7 @@ printf.1
ptx.1
pwd.1
readlink.1
+realpath.1
rm.1
rmdir.1
seq.1
diff --git a/man/Makefile.am b/man/Makefile.am
index a8888996b..48a52d226 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -92,6 +92,7 @@ printf.1: $(common_dep) $(srcdir)/printf.x ../src/printf.c
ptx.1: $(common_dep) $(srcdir)/ptx.x ../src/ptx.c
pwd.1: $(common_dep) $(srcdir)/pwd.x ../src/pwd.c
readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c
+realpath.1: $(common_dep) $(srcdir)/realpath.x ../src/realpath.c
rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c
rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c
runcon.1: $(common_dep) $(srcdir)/runcon.x ../src/runcon.c
diff --git a/man/realpath.x b/man/realpath.x
new file mode 100644
index 000000000..a52fa2570
--- /dev/null
+++ b/man/realpath.x
@@ -0,0 +1,6 @@
+[NAME]
+realpath \- print the resolved path
+[DESCRIPTION]
+.\" Add any additional description here
+[SEE ALSO]
+readlink(1), readlink(2), realpath(3)