News for hackers. Stuff that matters.
Re:The Magic of strace by JoshTriplett on Friday January 31, 2014 @03:43AM (#7155906)
There's a manpage bash-builtins in section 7, but I've never seen a system that had manpages for the individual builtins, let alone having them in section 1. "man read" on every system I've used opens the read manpage in section 2.
Re:The Magic of strace by rosser on Friday January 31, 2014 @03:46AM (#7155913)
My local CentOS 6.2 VM has bash-builtins in section 1, which is where "man read" takes me. Same with a RHEL 6.4 machine in the colo.

This might be a distro-specific thing.

Re:The Magic of strace by _delirium on Friday January 31, 2014 @07:40AM (#7156367)
Same with OSX: "man read" opens the builtin(1) manpage. However on Debian 7.3, it opens read(2).
Re:The Magic of strace by noselasd on Saturday February 01, 2014 @09:56PM (#7164596)
You can configure the priority of the sections in /etc/man.conf or similar.
Re:The Magic of strace by justincormack on Friday January 31, 2014 @03:45AM (#7155912)
Some syscalls share names with commands in section 1 though.
Re:The Magic of strace by GFK_of_xmaspast on Friday January 31, 2014 @12:07PM (#7157662)
I can't remember a unix system for at least the last decade that hasn't given me the section 1 bash "read" instead of the section 2 system "read" on a "man read".
Re:The Magic of strace by coryfklein on Friday January 31, 2014 @12:23PM (#7157782)
I've been on Ubuntu for several years, and I see the same as JoshTriplett. Must be platform dependent.
Re:The Magic of strace by JasuM on Friday January 31, 2014 @08:40AM (#7156567)
At least on my Mac, it opens the page for BUILTIN(1).
Re:The Magic of strace by Hello71 on Friday January 31, 2014 @07:25AM (#7156318)
read is also documented by POSIX, and those man pages are often installed in section 1p.