* Tomi Ollila:

> IMO only deviation from this can be *not* supporting ~user. ~foo
> expanding as ${HOME}foo is inconsistent and unexpected...

Fair enough. Still, supporting only the "~/" prefix for ${HOME}/ but
interpreting "~bob" as ${HOME}/~bob is just as unexpected, don't you
think?


> PS. did you know that e.g. ssh does not expand ~ -> getenv("HOME"),
> but reads the real directory from passwd database.

If I had to guess, I'd say this was probably done with security concerns
in mind? Avoid possible shenanigans with a process' environment.

-Ralph
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to