aboutsummaryrefslogtreecommitdiffstats
path: root/prologue/typography.xml
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2005-07-04 21:32:47 +0000
committerArchaic <archaic@linuxfromscratch.org>2005-07-04 21:32:47 +0000
commita1a7f4f337b99bc16ce9d0f539d7a7f4f0fa4a51 (patch)
tree762b40b3ca0cb703e9be4186870ff9158df61b44 /prologue/typography.xml
parentae318839a8635e3dab5d60cd53bd7ab962b9631c (diff)
Brought (hopefully) all references of man/info pages into conformity. Updated typography to reflect this.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6376 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue/typography.xml')
-rw-r--r--prologue/typography.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/prologue/typography.xml b/prologue/typography.xml
index 62b8ef9c9..13cc4d199 100644
--- a/prologue/typography.xml
+++ b/prologue/typography.xml
@@ -54,5 +54,24 @@ Therefore, this entire section is generally typed as seen.</para>
<para>This format is used to encapsulate text that is not to be typed
as seen or copy-and-pasted.</para>
+<para><filename>passwd(5)</filename></para>
+
+<para>This format is used to refer to a specific manual page (hereinafter
+referred to simply as a <quote>man</quote> page). The number inside parentheses
+indicates a specific section inside of <command>man</command>. For example,
+<command>passwd</command> has two man pages. Per LFS installation instructions,
+those two man pages will be located at
+<filename>/usr/share/man/man1/passwd.1</filename> and
+<filename>/usr/share/man/man5/passwd.5</filename>. Both man pages have different
+information in them. When the book uses <filename>passwd(5)</filename> it is
+specifically referring to <filename>/usr/share/man/man5/passwd.5</filename>.
+<command>man passwd</command> will print the first man page it finds that
+matches <quote>passwd</quote>, which will be
+<filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will
+need to run <command>man 5 passwd</command> in order to read the specific page
+being referred to. It should be noted that most man pages do not have duplicate
+page names in different sections. Therefore, <command>man <replaceable>[program
+name]</replaceable></command> is generally sufficient.</para>
+
</sect1>