John.
>> dear sirs, is
>> $ env PAGER=cat LC_CTYPE=en_US.ISO8859-1 perldoc perltw
>> the same as
>> $ PAGER=cat LC_CTYPE=en_US.ISO8859-1 perldoc perltw
>Yes. What the env command buys you is the ability to remove either the whole
>environment or just selected parts of it. This can be very useful in
>testing, and in
>making sure that your lovingly-developed new program does not have a hidden
>dependency on something you added to your .profile three years ago.
>Look at env -i or -u. Note that env -u VARIABLE command is *different* from
>VARIABLE= command -- in the latter case VARIABLE is still in command's
>environment even though it has been set to nothing.
(setenv PAGER cat; setenv LC_TYPE=en_US.ISO8859-1; perldoc perltw)
The env command works the same no matter what shell you're using it from.
--
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
After gen'ing with 'express option' and 'no network' (which seemed to
run ok), I get the message "NO DISPLAY ENV" when I execute 'startx'.
Checking 'env' does not show a 'DISPLAY' variable, but I cannot find
anything that works. Any ideas?
2. NEED HELP!
3. Using "if" in "ksh" to change "for loop" values....
4. 2.4.18-rc1 page_alloc.c:199
5. GETSERVBYNAME()????????????????????"""""""""""""
6. Two JE (Japanese Extensions) Linux Problems
7. How can I do some modification to my initialized "env" environment variable?
8. Newbie
9. How does the ksh ENV "trick" work?
10. how to use env var "toto.toto" in tcsh
11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
12. running a script w/o "some" env
13. Apache, multiple log files, multiple args to " env= "