aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/functions.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-07-19 13:54:44 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-07-19 13:54:44 +0000
commit67dd94aaab5a987395830d364df2c49ee25eb839 (patch)
tree0f0b2ce36807dc381e97d689cbcf9be5001f7ffc /chapter07/functions.xml
parentba71c742ec48edca88e76c6c476208f8246b6474 (diff)
changed & into &amp; and < into &lt;
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/functions.xml')
-rw-r--r--chapter07/functions.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/functions.xml b/chapter07/functions.xml
index 34961dd60..15bda9133 100644
--- a/chapter07/functions.xml
+++ b/chapter07/functions.xml
@@ -27,10 +27,10 @@ the following command:
if [ -z "$COLUMNS" ]
then
# Get the console device if we don't have it already
- test -z "$CONSOLE" && CONSOLE=/dev/console
+ test -z "$CONSOLE" &amp;&amp; CONSOLE=/dev/console
# Get the console size (rows columns)
- SIZE=$(stty size < $CONSOLE)
+ SIZE=$(stty size &lt; $CONSOLE)
# Strip off the rows leaving the columns
COLUMNS=${SIZE#*\ }