comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Strange UNIX or strange IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange UNIX or strange IDL? [message #13366 is a reply to message #13344] Fri, 06 November 1998 00:00 Go to previous messageGo to previous message
LC's No-Spam Newsread is currently offline  LC's No-Spam Newsread
Messages: 18
Registered: September 1997
Junior Member
On 6 Nov 1998, Vap User wrote:

> Harald Frey <hfrey@ssl.berkeley.edu> writes:
>
> returns a null string if there there isn't. PWD is always defined in
> the Cshell (not sure about sh, but I think it must be true for it as

not in mine (DU 3.2)

> 'pwd' is a *command* in the cshell that returns the *value* of the
> environmental variable 'PWD'. 'PWD' is not any command -unless you are

Yes, pwd is the command, but the variable is called 'cwd'.
pwd is the same as "echo $cwd"
And 'cwd' is a shell variable (in csh use command "set" to see them)
and not an environment variable (in chs use "printenv"). And since
is not in the environment (of the parent process of IDL) IDL won't getenv
it.

And also remember that within IDL you can CD to a different directory
without any effect on the shell. So consider the two (IDL and shell)
fully disjoint environments.

--
------------------------------------------------------------ ----------
nospam@ifctr.mi.cnr.it is a newsreading account used by more persons to
avoid unwanted spam. Any mail returning to this address will be rejected.
Users can disclose their e-mail address in the article if they wish so.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: random numbers with gamma distribution
Next Topic: Converting characters to real

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 09:29:01 PDT 2025

Total time taken to generate the page: 0.48096 seconds