On Thursday 23 July 2009 10:13:00 pm Randall R Schulz wrote:
% 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
Randall, I kind of follow you here. Are you saying that I need to do both queries in each script to determine if the proper environment or variable parameters? What I was getting at is that I have used LINES & COLUMNS in scripts in the past that relied on both but didn't have to alter the environment. Why are these needed now? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org