Mailinglist Archive: opensuse (4288 mails)

< Previous Next >
Re: [opensuse] How to get list of variables
  • From: Thomas Hertweck <Thomas.Hertweck@xxxxxx>
  • Date: Mon, 29 Oct 2007 21:33:40 +0000
  • Message-id: <472651B4.3090609@xxxxxx>


Randall R Schulz wrote:
[...]

I use this shell procedure (defined in my .bashrc) to query local
variables:

vq () {
set | egrep -e "$1"
}

Isn't "set" also reporting functions etc.? I usually use "printenv"
to query (environment) variables...

Th.

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

< Previous Next >
Follow Ups
References