first previous next last contents

expandpath

expandpath pathname

This command returns an expanded copy of pathname with tilde sequences and environment variables expanded in a usual shell-like fashion. It is a direct interface to the expandpath C routine, so see this for full details.

For example, the command "expandpath {~/bin/$MACHINE}" may return a string like "/home5/pubseq/bin/alpha".



first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_39.html