diff options
Diffstat (limited to 'chapter07/functions.xml')
-rw-r--r-- | chapter07/functions.xml | 4 |
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" && CONSOLE=/dev/console # Get the console size (rows columns) - SIZE=$(stty size < $CONSOLE) + SIZE=$(stty size < $CONSOLE) # Strip off the rows leaving the columns COLUMNS=${SIZE#*\ } |