basename, dirname: Improve documentation.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 28 Sep 2014 16:52:08 +0000 (09:52 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 28 Sep 2014 16:52:08 +0000 (09:52 -0700)
* 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>.

ChangeLog
doc/posix-functions/basename.texi
doc/posix-functions/dirname.texi

index 876174f482392469d2ea174022bac28543a375e6..0bf83d4d53d6ad57e81247997d33d6bda5870b66 100644 (file)
--- 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
index 699f28e4ba0269adf7784fa78e9b0f992ca61da3..bb068f43ef9be82a5c16d3465c9da524ca02e191 100644 (file)
@@ -22,3 +22,6 @@ the GNU version.
 @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.
index 026f404d4febc9e9d6339e7ab86e0c6f9a78e725..dd86e58128778869edd202aaf95f07e3e32e2e64 100644 (file)
@@ -20,5 +20,6 @@ IRIX 6.5, Solaris 2.5.1, mingw, MSVC 9, BeOS.
 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.