In article <[EMAIL PROTECTED]> you wrote:
> [root@gateway /root]# cat basename-test.c
> #include <stdio.h>

> int main()
> {
>     printf("%s\n", basename("/usr/bin/perl"));
> }

May be, but

_[/]_(scott@rock)_
$ cat /etc/redhat-release 
Red Hat Linux release 6.1 (Cartman)
_[/]_(scott@rock)_
$ man 3 basename
No entry for basename in section 3 of the manual
_[/]_(scott@rock)_
$ apropos basename | cat
basename (1)         - strip directory and suffix from filenames
basename (3)         - extract just the filename from a path
_[/]_(scott@rock)_
$ find . -iname '*basename.3' 2> /dev/null
./usr/lib/perl5/man/man3/File::Basename.3
_[/]_(scott@rock)_
$ fgrep 'extract just the filename' \
        `find . -iname '*basename.3' 2> /dev/null`
basename \- extract just the filename from a path

Executive summary:  Mike didn't find a man page.  (While there
is an apropos entry, it is for perl's File::Basename.)

Does anyone know if there was ever a man page for libc5/glibc?
(A local RH 4.1 box doesn't have it either.)

 -Scott



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to