expandstr
static char *expandstr(const char *, const struct passwd *, int);
value = expandstr(ovalue, pwd, ispath);