Very nice! Thanks. I guess that I'm going to end up dedicating a weekend day to just read the entire output from "info bash". Luckily, I can create a text file from it, convert it to PDF format, then read the PDF directly on my Kindle DX or Android tablet. I really don't like reading "manuals" on my PC screen because it is landscape instead of portrait.
-- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On > Behalf Of Hendrik Brueckner > Sent: Friday, April 13, 2012 3:47 AM > To: [email protected] > Subject: Re: bash question. > > Hi John, > > On Thu, Apr 12, 2012 at 10:42:33PM -0500, John McKown wrote: > > bash has variables, such as $PATH and $HOME and maybe even $i. If a > > variable has been the subject of an export command, you > find all of them > > which are export'd using the printenv command. But is there > some way to > > find the ones which exist, but have not been export'd? > > > > No, I guess I don't have a real need for this. But I'm curious. > > You can use "declare -p". Exported variables are displyed with "-x", > for example: declare -x EDITOR="vim > > Take a look at "help declare" for other options like if a > variable is an > array... > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
