Expand all ~ in the given string.
Output: Input filespec is mem_free'd.
mem_malloc'd string
See Implementation
Expand all ~ in the given string.
Output: Input filespec is mem_free'd.