changed & into &amp; and < into &lt;

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-07-19 13:54:44 +00:00
parent ba71c742ec
commit 67dd94aaab

View File

@ -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#*\ }