Arkady V.Belousov wrote:
Hi!
14-Мар-2006 19:10 [EMAIL PROTECTED] (Robert Riebisch) wrote to
freedos-devel@lists.sourceforge.net:
name in man' pages? For example: "sed(1)", "dirent(3)", etc.
RR> That's a section number. 1 = Commands, 2 = System calls, ... see
RR> http://gmanedit.sourceforge.net/man7.html
Hm. I never will remember this. :(
I thought the same thing when I first started using UNIX, but it
eventually became habit.
_Usually,_ the section number doesn't really matter. It's only in cases
where the thing you are looking up has an entry in another section. For
example: the UNIX program /usr/bin/getopt has its man page as getopt(1),
but the getopt() function has its man page as getopt(3). By default,
"man" starts looking in section 1. So you can just do:
man getopt
..if you want to read about the /usr/bin/getopt program. But if you are
looking for how to use the getopt() function - something I always need
to look up, no matter how often I use it - you need to specify the section:
man 3 getopt
Similarly, to learn how to use the /usr/bin/crontab program, you would type:
man crontab
But to learn about the file format for the crontab file - and I always
do, because I tend to forget which field is day of the month - you need
to look in section 5:
man 5 crontab
-jh
--
I'm sorry my president's an idiot. I didn't vote for him.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel