delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | "bruno patin" <bruno DOT patin AT wanadoo DOT fr> |
To: | "Cygwin" <cygwin AT cygwin DOT com> |
Subject: | [cygwin]bash question, perhaps problem |
Date: | Tue, 25 Jun 2002 20:58:31 +0100 |
Message-ID: | <001101c21c82$af12b440$022b01c0@patin> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.3018.1300 |
if you consider the simple script --------------------- #!/bin/bash echo $0 ----------------------- the line do give normally the exact text you use to execute the command (see the man pages of bash). but, on cygwin, we have, when executed from a distant directory by a relative call, the absolute name. So we can't use this name to return from the local directory to where this command was launched. is it a known bug, is it nominal ? thanks for your great work -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |