Mercurial > hg > octave-nkf > gnulib-hg
changeset 17766:9d6a89b53b85
basename, dirname: Improve documentation.
* doc/posix-functions/basename.texi: Mention dirname module and
base_name() function.
* doc/posix-functions/dirname.texi: Mention dir_name() and
mdir_name() functions.
Suggested by Werner LEMBERG <wl@gnu.org>.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Sun, 28 Sep 2014 09:52:08 -0700 |
parents | 6dafc9cb43ae |
children | bc4693f4bc9b |
files | ChangeLog doc/posix-functions/basename.texi doc/posix-functions/dirname.texi |
diffstat | 3 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-09-28 Ben Pfaff <blp@cs.stanford.edu> + + basename, dirname: Improve documentation. + * doc/posix-functions/basename.texi: Mention dirname module and + base_name() function. + * doc/posix-functions/dirname.texi: Mention dir_name() and + mdir_name() functions. + Suggested by Werner LEMBERG <wl@gnu.org>. + 2014-09-24 Jim Meyering <meyering@fb.com> exclude: declare exclude_patopts static
--- a/doc/posix-functions/basename.texi +++ b/doc/posix-functions/basename.texi @@ -22,3 +22,6 @@ @code{basename} assumes file names in POSIX syntax; it does not work with file names in Windows syntax. @end itemize + +The Gnulib module @code{dirname} provides similar API, with function +@code{base_name}, that also works with Windows file names.
--- a/doc/posix-functions/dirname.texi +++ b/doc/posix-functions/dirname.texi @@ -20,5 +20,6 @@ names in Windows syntax. @end itemize -The Gnulib module @code{dirname} provides similar API that also works with -Windows file names. +The Gnulib module @code{dirname} provides similar API, with functions +@code{dir_name} and @{code{mdir_name}, that also works with Windows +file names.