realpath: a new program to print the resolved path
authorPádraig Brady <P@draigBrady.com>
Tue, 27 Dec 2011 00:30:23 +0000 (00:30 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 3 Jan 2012 11:36:32 +0000 (11:36 +0000)
commit77ea441f79aa115f79b47d9c1fc9c0004c5c7111
tree8228c30cde49ff735ca71b2ef9044a1ef833fe36
parent76352c770e37de94140e0df4534462ff553c798b
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.
15 files changed:
AUTHORS
NEWS
README
doc/coreutils.texi
man/.gitignore
man/Makefile.am
man/realpath.x [new file with mode: 0644]
po/POTFILES.in
scripts/git-hooks/commit-msg
src/.gitignore
src/Makefile.am
src/realpath.c [new file with mode: 0644]
tests/Makefile.am
tests/misc/help-version
tests/misc/realpath [new file with mode: 0755]