------ art_179965_12791628.1156792490577 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/28/06, Kent Sibilev <ksruby / gmail.com> wrote: > > $ env | wc -l > 23 > $ ruby -e 'puts ENV.size' > 23 > > > On 8/28/06, Chris Gehlker <canyonrat / mac.com> wrote: > > I get: > > irb(main):001:0> ENV.keys.size > > => 15 > > irb(main):002:0> ENV.keys[0..14] > > => ["TERM_PROGRAM", "TERM", "SHELL", "CLICOLOR", > > "TERM_PROGRAM_VERSION", "USER", "__CF_USER_TEXT_ENCODING", "PATH", > > "RI", "PWD", "SHLVL", "HOME", "LOGNAME", "SECURITYSESSIONID", "_"] > > > > Which is a smaller set of environmental variables quite different > > than what is described in the Pickaxe Book. Did the Ruby powers trim > > them? Just curious. > > > > -- > > Conscience is thoroughly well-bred and soon leaves off talking to > > those who do not wish to hear it. > > -Samuel Butler, writer (1835-1902) > > > > > > > > > > > > > -- > Kent > --- > http://www.datanoise.com > > Ah I see Kent, that was a very clever and concise way to show your point. So clever I failed to see it :( Cheers Robert -- Deux choses sont infinies : l'univers et la bóŐise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------ art_179965_12791628.1156792490577--