Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  ASTROLIB  >  EXPAND_TILDE

EXPAND_TILDE

EXPAND_TILDE

Name


      EXPAND_TILDE()
             

Purpose


      Expand tilde in UNIX directory names
             

Calling Sequence


      IDL> output=expand_tilde(input)
   

Inputs


      INPUT = input file or directory name, scalar string

Output


      Returns expanded filename, scalar string
             

Examples


      output=expand_tilde('~zarro/test.doc')
              ---> output='/usr/users/zarro'

Notes


      This version of EXPAND_TILDE differs from the version in the Solar
      Library in that it does not call the functions EXIST and IDL_RELEASE.
      However, it should work identically.

Procedure Calls


      None.

Revision History


      Version 1, 17-Feb-1997, D M Zarro. Written
      Transfered from Solar Library W. Landsman Sep. 1997
      Made more robust D. Zarro/W. Landsman Sep. 2000
      Made even more robust (since things like ~zarro weren't being expanded)
      Zarro (EITI/GSFC, Mar 2001)



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us