News for hackers. Stuff that matters.
Re:Using Makefile(s) for Go by mikojan on Tuesday December 10, 2019 @08:48AM (#21752354)
Why do people on this website use "make(1)" instead of "make" in writing? And I know it's in the man pages but what is this number even for?
Re:Using Makefile(s) for Go by rustyfe on Tuesday December 10, 2019 @09:02AM (#21752463)
The (1) in make(1) corresponds to which section of the manual[1] make is in. This is useful in some cases to distinguish between things that might be in multiple sections like printf(1) the user command and printf(3) the C library function. When everyone knows what's being discussed, I think it's mostly people trying to give a shibboleth that they've read the fine manual.

[1] - https://en.wikipedia.org/wiki/Man_page#Manual_sections

Re:Using Makefile(s) for Go by drfuchs on Tuesday December 10, 2019 @12:05PM (#21754299)
Unlike “ls” and “cp”, “make” is a real word, so to help us human readers parse the document’s prose, adding the section number in parentheses gives our brains a quick clue as to what’s going on.
Re:Using Makefile(s) for Go by SifJar on Tuesday December 10, 2019 @08:55AM (#21752402)
The number is the "section" of the manual:

https://www.kernel.org/doc/man-pages/

My guess is make(1) is to distinguish from make(1p) - http://man7.org/linux/man-pages/man1/make.1p.html

Re:Using Makefile(s) for Go by masklinn on Tuesday December 10, 2019 @11:51AM (#21754168)
> My guess is make(1) is to distinguish from make(1p) - http://man7.org/linux/man-pages/man1/make.1p.html

Or just reflexively included just in case, because of commonly encountering potentially ambiguous situations that you just disambiguate by default, even for non-ambiguous situations.

Re:Using Makefile(s) for Go by astrobe_ on Tuesday December 10, 2019 @02:23PM (#21755894)
I guess to avoid the confusion with the verb and make the sentence more pleasant to read. I think the more usual way to deal with that type of problem is to use italics.
Re:Using Makefile(s) for Go by nocman on Tuesday December 10, 2019 @10:04AM (#21753088)
As the previous replies stated, the "1" is the section of the manual the page you are requesting occurs in.

If you have trouble remembering what the sections are, I recommend running "man man" in the terminal. The section numbers are explained near the beginning.

Re:Using Makefile(s) for Go by jjgreen on Tuesday December 10, 2019 @11:29AM (#21753935)
Irix (IIRC) used to respond to the argumentless command "man" with the supremely snotty "appropo what", which made me laugh out loud the first time I saw it
Re:Using Makefile(s) for Go by IshKebab on Tuesday December 10, 2019 @11:50AM (#21754154)
They're showing off their geek creds. "I know what man page sections are" essentially. There's absolutely no practical reason to use it in a comment.