Web lists-archives.com

Re: Get Cygwin home directory path for current user




On Fri, Feb 15, 2019 at 11:09 PM L A Walsh wrote:

>     Vince, I think What Bill is trying to ask is how does
> the cygwin shell might do it (answer: look at the source! ;-)).

Or rather more succinctly: "Cygwin, what is the path to the current
user's home directory?"

IMO it would be simpler for cygpath to have a flag for this so we can
simply ask directly instead of collecting stdout from a shell command.

But as I noted - requesting it from a shell _does_ work - my thought
is simply that this would be a rather useful option to have in
cygpath.

Regards,

Bill

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple