Procházet zdrojové kódy

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

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans před 24 roky
rodič
revize
67dd94aaab
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      chapter07/functions.xml

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