Mailinglist Archive: opensuse (1696 mails)

< Previous Next >
Re: [opensuse] BASH: has $COLUMNS gone nuts?
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Thu, 23 Jul 2009 20:13:00 -0700
  • Message-id: <200907232013.01244.rschulz@xxxxxxxxx>
On Thursday July 23 2009, David C. Rankin wrote:
On Thursday 23 July 2009 09:43:12 pm David C. Rankin wrote:
On Thursday 23 July 2009 09:22:34 pm David C. Rankin wrote:
Listmates,

OK,

When did "LINES" and "COLUMNS" stop being exported?

If openSuSE isn't exporting "LINES" and "COLUMNS" anymore, there
will be a whole bunch of bash programming guide examples that no
longer work. Let me know if someone else can confirm this and I will
write the bug report. Which package would cause this behavior to
change??

% vq COLUMN
COLUMNS=180
%
% eq COLUMN
%


Vq and eq are "variable query" and "environment query":

vq () { set | egrep -e "$1"; }
eq () { export | sed -n -e "/$1/ s/declare -x //p"; }


--
David C. Rankin


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups