I am trying to look at a man page but something is going wrong.
Given this information how do I look at the dirname man page in section 3?
Is the man page missing or is it part of a man page with a different name?
(BTW man 1 dirname brings up a page but not the one I wanted) Any ideas?
[nzanella@tulip nzanella]$ man -k dirname
dirname (1) - strip non-directory suffix from file name
dirname [File::Basename] (3) - extract just the directory from a path
[nzanella@tulip nzanella]$ man 3 dirname
No entry for dirname in section 3 of the manual
[nzanella@tulip nzanella]$ echo $MANPATH
/usr/lib/qt-2.1.0/man:/usr/local/maple/man:/usr/man:/usr/X11R6/man:/usr/lib/perl5/man:/usr/kerberos/man:/usr/local/man
Thanks,
Neil
Try this:
$ perldoc File::Basename
This gives the manual for the Perl module called "File::Basename"
which describes 'dirname' in Perl. This was the manual referred to by
your 'man -k' command.
You could also try
$ man File::Basename
This works on my Debian system but is not the recomended way to read
Perl manuals.
/A
--
# Andreas Kähäri, <URL:http://hello.to/andkaha/>.
# ...brought to you from Uppsala, Sweden.
# All junk e-mail is reported to the appropriate authorities.
# Criticism, cynicism and irony available free of charge.