diff -u shellutils-2.0.11/doc/sh-utils.texi shellutils-withrealpath/doc/sh-utils.texi --- shellutils-2.0.11/doc/sh-utils.texi Wed Oct 18 15:42:43 2000 +++ shellutils/doc/sh-utils.texi Sat Oct 6 06:23:42 2001 @@ -44,6 +44,7 @@ * printenv: (sh-utils)printenv invocation. Print environment variables. * printf: (sh-utils)printf invocation. Format and print data. * pwd: (sh-utils)pwd invocation. Print working directory. +* realpath: (sh-utils)realpath invocation. Print canonicalized path name. * seq: (sh-utils)seq invocation. Print numeric sequences * sleep: (sh-utils)sleep invocation. Delay for a specified time. * stty: (sh-utils)stty invocation. Print/change terminal settings. @@ -131,7 +132,7 @@ * Printing text:: echo printf yes * Conditions:: false true test expr * Redirection:: tee -* File name manipulation:: dirname basename pathchk +* File name manipulation:: dirname basename realpath pathchk * Working context:: pwd stty printenv tty * User information:: id logname whoami groups users who * System context:: date uname hostname @@ -1045,6 +1046,7 @@ @menu * basename invocation:: Strip directory and suffix from a file name. * dirname invocation:: Strip non-directory suffix from a file name. +* realpath invocation:: Print canonical path to a file. * pathchk invocation:: Check file name portability. @end menu @@ -1091,6 +1093,27 @@ If @var{name} is a single component, @code{dirname} prints @samp{.} (meaning the current directory). + +The only options are @samp{--help} and @samp{--version}. @xref{Common +options}. + + address@hidden realpath invocation address@hidden @code{realpath}: Print canonicalized path to a file. + address@hidden realpath address@hidden file names, canonicalizing address@hidden canonical file names, finding address@hidden symlinks, expanding + address@hidden finds the canonical path to a file. Synopsis: + address@hidden +realpath @var{name} address@hidden example + address@hidden expands all symbolic links and resolves references to address@hidden/./} and @samp{/../} and extra @samp{/} characters in @var{name}. The only options are @samp{--help} and @samp{--version}. @xref{Common options}.