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

Home » Public Forums » archive » Re: Problem with "~" in Unix FINDFILE, still?
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: Problem with "~" in Unix FINDFILE, still? [message #2311] Thu, 09 June 1994 08:36 Go to previous message
dnguyen is currently offline  dnguyen
Messages: 4
Registered: May 1994
Junior Member
In article <1994Jun8.120922@ossenu.astro.nwu.edu>, pendleton@ossenu.astro.nwu.edu (Jim Pendleton) says:
>
> Could someone verify the following Unix IDL "bug" for me in a more recent
> version of IDL than 3.0.0?
>
> The problem I am seeing is that the FINDFILE function doesn't properly
> interpret a "~" as a symbol for the home directory.
.....

> produces output as I would expect. Note that the use of a "." for current
> directory rather than a "~" does work properly.

To bypass this "bug", I use $HOME to represent my home directory.
For example:

IDL> PRINT,FINDFILE("$HOME | grep filename")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and NIS - cd?
Next Topic: Elementary image question

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

Current Time: Wed Oct 08 17:15:50 PDT 2025

Total time taken to generate the page: 0.00448 seconds