mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
changed & into & and < into <
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ba71c742ec
commit
67dd94aaab
@ -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#*\ }
|
||||
|
Loading…
Reference in New Issue
Block a user