The character `~' at the beginning of a filename refers to home
directories. Standing alone, i.e., `~', it expands to the invoker's
home directory as reflected in the value of the home shell variable.
When followed by a name consisting of letters, digits and `-'
characters the shell searches for a user with that name and substitutes
their home directory; thus `~ken' might expand to `/usr/ken' and
`~ken/chmach' to `/usr/ken/chmach'. If the character `~' is followed
by a character other than a letter or `/' or appears elsewhere than at
the beginning of a word, it is left undisturbed. A command like
`setenv MANPATH /usr/man:/usr/local/man:~/lib/man' does not, therefore,
do home directory substitution as one might hope.