[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in select-command
From: |
Chet Ramey |
Subject: |
Re: Bug in select-command |
Date: |
Sat, 24 Jun 2017 13:17:23 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 6/24/17 10:46 AM, Eduardo A. Bustamante López wrote:
> I think this is an easier way to reproduce the problem. I have a terminal
> window with the following dimensions:
>
> dualbus@debian:~$ declare -p COLUMNS LINES
> declare -- COLUMNS="191"
> declare -- LINES="49"
You haven't exported these. If you had, the subshell started to run the
script would have the correct values.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/