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

Home » Public Forums » archive » Strange UNIX or strange IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange UNIX or strange IDL? [message #13413] Wed, 04 November 1998 00:00
Harald Frey is currently offline  Harald Frey
Messages: 41
Registered: March 1997
Member
IDL> print,!version
{ sparc sunos unix 5.1 Apr 13 1998}
IDL> pwd=getenv('PWD')
IDL> print,pwd
/disks/sprite/disk1/hfrey/idl/image/wic
IDL> pwd=getenv('pwd')
IDL> print,pwd

IDL>

With the name argument of getenv set to capital letters I get the right
answer, but in small letters 'pwd' returns the null string. However, if
I use the same command on the UNIX platform I get

image1 [1] pwd
/disks/sprite/disk1/hfrey/idl/image/wic
image1 [2] PWD
PWD: Command not found

and UNIX does not like the capital letter 'PWD'.

Any explanation?

Harald Frey
hfrey@ssl.berkeley.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: object -> direct (colors)
Next Topic: Re: Q: Spatial/Spectral Resampling?

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

Current Time: Wed Oct 08 13:53:38 PDT 2025

Total time taken to generate the page: 0.00551 seconds