aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/creatingdirs.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index 8dbb3b0c7..0b09a7103 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -19,7 +19,7 @@ install -d /usr/{bin,include,lib,sbin,share,src}
ln -s share/{man,doc,info} /usr
install -d /usr/share/{doc,info,locale,man}
install -d /usr/share/{misc,terminfo,zoneinfo}
-install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
+install -d /usr/share/man/man{1..8}
install -d /usr/local/{bin,etc,include,lib,sbin,share,src}
ln -s share/{man,doc,info} /usr/local
install -d /usr/local/share/{doc,info,locale,man}
@@ -46,6 +46,12 @@ another user's files from them. The latter is prohibited by the
so-called <quote>sticky bit,</quote> the highest bit (1) in the 1777
bit mask.</para>
+<note><para>Notice the two different constructions above for creating multiple
+man directories: <command>install -d /usr/share/man/man{1..8}</command> and
+<command>install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}</command>. The
+first one is new since Bash 3.0 This new feature will help make repetitive
+commands easier to type.</para></note>
+
<sect2>
<title>FHS Compliance Note</title>