delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/14/18:41:40

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=tgqgdmZ
HRITEqx9S0jx8Q5Qt+IWFzC5s+Kyc0jWbxt7XHjZf5+0WHD16Mr0ChSIAfkx6JHH
n7X9Y5IVZev9wbNiveYzGYjoA0hBgM9PG99BQAZynGYs83YcQ5NJpnUbo79gRKca
U0E5FYFTsmbDF0XzQBXn5UszPvUVZEt5jW5g=
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=IaGNtYEoNtm/b
pOzPHFa+Ysz9II=; b=nUnnoz5TVKTCgb2CQLXLpxk4Ai8FPDGhH/vj5g29xSvOW
mS2fhA8/N5GyOV0oUSUPMLnOn5gxkymE7MD9eDZVjhqQYU6Sc8q+9Co7qwWnz5Ra
j5jdrQOpTBowfdEMPps4ono0WR1WFlkHcvw0lH+GSuHt9VKVDroFgazitw47Gs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=
X-HELO: mout.gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550187685; bh=dVcGI1zvWKUZqnwVAWhiaTTBirDMe3hF+DTNpq44/kw=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=POl2ycfh2nHkIvZ1qY00U3nZwamgvaQETpbtB4PrhGuek1GltZ/4mxdjrcIFJXtSU OuNWNI4LLLtSae0+HJlhRfQSf1YEQ0jDYPPZFg+6pEt72NU2Qg4eqOXLgQ6RpD6rwx GQ0PC2SNRdWzR/GET7+h7Qyc+JOoG/G0QnSEMYMY=
X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79
MIME-Version: 1.0
References: <CANV9t=R83dQddZOVWVUg55t7K=DUyE8BiQ10Pn1v4G+xcgPh3w AT mail DOT gmail DOT com> <9539a1e8-e893-3175-f96c-fb4ad172702c AT redhat DOT com> <CANV9t=R-1XE-cyKa5vtvtu_3dJiYoLRstBTN86JiQ2FS2T+Jyw AT mail DOT gmail DOT com> <2a87c6c0-6a0f-6994-3620-8b0b722d7d49 AT redhat DOT com> <CANV9t=QXVTGF0uS+vNCmkrxNOV7GVAsO_5hTS9hizX0tnW=-PA AT mail DOT gmail DOT com> <06CBB893-FD9F-460F-B00C-E22950036B5E AT solidrocksystems DOT com> <CANV9t=RML1q=ZAQOadvrsjmWn2391s6jr_t1MgbaJxO6DM2V5Q AT mail DOT gmail DOT com> <EE1F333E-3A36-40CE-971B-1791145D29CC AT solidrocksystems DOT com>
In-Reply-To: <EE1F333E-3A36-40CE-971B-1791145D29CC@solidrocksystems.com>
From: Bill Stewart <bstewart AT iname DOT com>
Date: Thu, 14 Feb 2019 16:41:11 -0700
Message-ID: <CANV9t=Td7_G-Bk2XVyBVY3rN1QorgLsGU1ChBtJHOV7-qZVFcA@mail.gmail.com>
Subject: Re: Get Cygwin home directory path for current user
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Thu, Feb 14, 2019 at 4:32 PM Vince Rice wrote:

> I didn't suggest everyone did. But people who want tilde expansion do, because it's
> the shell that is responsible for tilde expansion.
> ...
> No, it isn't "oddly" absent. As has been said repeatedly in this thread, tilde expansion
> is the responsibility of the shell. Cygwin has nothing to do with it. The *shell* does
> it.
> ...
> Because, repeat after me, IT'S THE SHELL THAT DOES THE EXPANSION!

(?) I understand that the shell does ~ expansion. I am asking for a
way to get that particular path (forget about the ~ character for the
time being) without needing to invoke a Cygwin shell in the first
place. (That was the whole point of the request.)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019