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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=e1GGfbkpjjEBxmfl Q/hqUYz1vcaS+dUqr8fxRsMD7G3uq5YpKsgRvbKQaYITu676wh2W3BXMgecwPn0z aWzeLVrQGgvT1vr4JEpUboWcshi1TfOct5qNofWDQRInSU4h1sMqrYdOUvGalcDk QZ422qJPPLPVpb8aIll4Fiq1XQc= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=evCK8byhdRcDNn/RyFWhog ZM6lc=; b=DX4nHhB4FpjVbwQFYBocL2fxX0CwwExXND2+ElWCOSzlib948Bs5lm CJ65Xh9FSDzSN5LkV2zW93FDpQwy3hmZLsO75MxK2tQcd04elKHoFkz4JvfDjeO5 CoWe3vF56bzPmmBjbpJR0yq9OnvOTTHWwjm5Z+PHooLKG9sc8+u8I= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy= X-HELO: mout.kundenserver.de Subject: Re: cygpath -w converts relative paths to absolute windows paths To: cygwin AT cygwin DOT com References: <10eb657d-a00b-1609-a9b9-6373092c1ac1 AT polyhack DOT io> <357614277 DOT 20170207183005 AT yandex DOT ru> From: Thomas Wolff Message-ID: Date: Wed, 8 Feb 2017 00:34:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <357614277.20170207183005@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:dtlfIfkTEGY=:ppp56uXdghc8Od4urDI9qU 3XOV6hQUwJWrG/ryfHiJeOOwhXHDpHGC6A3X7GXJKtFAgVC7zMsGIXrsIWAsPtDhbmfwVqfY3 kIa4YWB5J7WdOdzVr0mK1AxQGVizN/tiUrLhjHpeDqkqFGSjOdO+GDXtrqMRZgE8oW33xSlON YCK3B+CW/LiCJrICTIv73Vxgiql+A83NTL9jC9OBqF+109A2bfP1hj5qLDAimXP0+qnu74Tnx 3eRz+Fjw9dzjVKzoN1fSfTAzvLGoPljtwqcDjfW8P+uAUZ+u8Lag2Pe0ZMdWBqHbIikCsuly/ KcpIdWKH6wccNapzY3DY1b+p/Ns1Z0Q5diKIYXkzS7doIAf/hFVnrnOruxKI9DEu1f9Wj193V k86C54mY07M7OfPqkUSkS7HKn6WceN5ugCe+sjtCq1i9oxSnQD8HgY8HSEw4KjtBMyU+bphWH b/yyvrwO3HKiawsYjTTwFDyr3WcCZnDJN61SjkhzppgRDrHbazy6EhTSGMLEcqLkbOtU3UUzS c1re2YbkYRx2YvTDu9v9NkqsrCzUVc2hNbuwSyVtVZp1w5XC4Idc9M8XggozRN3oHzniTPxRe pjbwjEi8We5rmcDItAAJRlh1uODetOLvWEohjIxaEW6c0tmSt7A46nnXdwGNkvIBDt5b/Hg89 5yw1mlP90Y4fOahgKdvpxNdFclVPnw4+acyntHciFciVSWQZOXQk8tnnpqAEH6jcK68OvXR2u P4BsxaxAJ0x8Bb1w X-IsSubscribed: yes Hi Andrey, Am 07.02.2017 um 16:30 schrieb Andrey Repin: > Greetings, Roger Qiu! > >> I've found that `cygpath --windows '../` will give back an absolute windows path. >> ... > ".." is a special path, that can't be safely converted. How is the special meaning of ".." so much different in Windows than in Cygwin/Linux/POSIX that it could not be mapped? Things like dir .., cd .., type ..\sub\file all work comparably. ------ Thomas -- 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