X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=KHUJ0Zc MowTnaf+cYIEOTgjCzTrq3O+ozX8ZuYDwqH6UOh79i2rUMcxc9RKIaLnVBlIpEtJ 7Nf1jq6+aOAUTcOnyzZPXThqKMqauHkUIjwQkG3skoJFTiSubpV4jTdMcNRf5szB +Oj3okIJfLZ2E4IjOgWtRISqejZ8l+6+hNaA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=NU+wccYcRvdG1 kGE0OzzBBX2js8=; b=NjSXAqbLENX0M//wodhrXO19MELO38bvXJBCJzWuPaKCb bnB1IkVM96JQxppLj/f9WnGOmAUFlqPakYC/yhxgm4QufIb7XUW0Ge4fIZ3mxeGT 9tNpSPdIf2M/Ep5IRA3vtq0IwQw0vWipamg6Am2xoFBu1j9YUFufU2JMWExDlc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Vince, vince, requesting X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550592908; bh=XBOi9iT9X80u+tScWrc1TeqjlYZ6aPQhKDt0D0F0a2c=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=wnEShH9Mkx/hHQXeal0deE2gKoy9F7ZUsh+XlO2unRjqbmUT/QJFAlsvKgRgt2Ohh iU1/A97KtZ0vt3xWi+xD6voBI18H0Cm6w/65OIXeHzeCtZu4DzfWjaBwYvXyysNq9f 2X691xeyJ8Qh1mssKUjpAhO8mepYGvm8bklA2M4A= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 MIME-Version: 1.0 References: <9539a1e8-e893-3175-f96c-fb4ad172702c AT redhat DOT com> <2a87c6c0-6a0f-6994-3620-8b0b722d7d49 AT redhat DOT com> <06CBB893-FD9F-460F-B00C-E22950036B5E AT solidrocksystems DOT com> <5C67A90A DOT 50704 AT tlinx DOT org> In-Reply-To: <5C67A90A.50704@tlinx.org> From: Bill Stewart Date: Tue, 19 Feb 2019 09:14:50 -0700 Message-ID: Subject: Re: Get Cygwin home directory path for current user To: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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