diff options
author | Simon Perreault <nomis80@videotron.ca> | 2001-05-03 23:44:00 +0000 |
---|---|---|
committer | Simon Perreault <nomis80@videotron.ca> | 2001-05-03 23:44:00 +0000 |
commit | 4294b908cdfc273ab96d371975016b987cb1af1f (patch) | |
tree | cc98d27643966750d8e3b2dd5f9fbae9c994bc15 | |
parent | 5aa8b719e602c30446cdb35566ddf29c3c450a25 (diff) |
Added an FHS compliance note regarding the linking of [ with test.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter06/shellutils-inst.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index 2f7c802eb..27d29ea4f 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -16,3 +16,21 @@ Install Shellutils by running the following commands: </sect2> +<sect2> +<title>FHS compliance notes</title> + +<para> +There is a command installed in this package which is named test. It is often +used in shell scripts to evaluate conditions, but if more often encountered +under the form <command>[ condition ]</command>. These brackets are built into +the bash interpreter, but the FHS dictates that there should exist a +<filename>[</filename> binary. We create that in this way, while still in the +<filename>/usr/bin</filename> directory: +</para> + +<blockquote><literallayout> + <userinput>ln -s test [</userinput> +</literallayout></blockquote> + +</sect2> + |