diff options
author | Archaic <archaic@linuxfromscratch.org> | 2005-09-16 02:38:06 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2005-09-16 02:38:06 +0000 |
commit | e860d2cfedccd0cffedb36295a46338cc5bba078 (patch) | |
tree | 63cf5a70a012d2aacc18f34ba519bca39c853ccb /chapter06 | |
parent | 18606d24def3f30e47ba4b4f2b21154c768fbdcf (diff) |
Added a blurb about bash\'s new file expansion ability.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/creatingdirs.xml | 8 |
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> |