Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!uwvax!astroatc!vidiot!ftms!brown From: brown@ftms.UUCP (Vidiot) Newsgroups: comp.sources.wanted Subject: environment fetching and tilde expansion software Message-ID: <42@ftms.UUCP> Date: 12 Apr 91 22:33:24 GMT Reply-To: brown@ftms.UUCP (Vidiot) Organization: Vidiot's Other Hangout Lines: 21 I'm looking for a couple of pieces of software, that could be in a library type package (sources required). One of the functions that I need is to be able to parse a path and expand the ~user into the full path of that user. The ~user may be part of a longer path, so it would be nice to be able to pass the function the unexpanded filename and get back the expanded filename, or an error number indicating that it couldn't be expanded. The other function, which is tied to the previous one, is to be able to expand a path like $(PROGHOME)/bin. I'd rather not re-invent the wheel of this code is already available somewhere. Please respond via e-mail and thanks in advance. -- harvard\ ucbvax!uwvax!astroatc!ftms!brown rutgers/ INTERNET: spool.cs.wisc.edu!astroatc!ftms!brown