delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/18/15:36:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B057A16.187592E9@windriver.com>
Date: Fri, 18 May 2001 12:37:58 -0700
From: Doru Carastan <doru DOT carastan AT windriver DOT com>
Organization: Wind River, Inc.
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.1.8: cygpath doesn't expand ~ correctly when running sh

--------------07B1B3A62AAA5B34E04AFA78
Content-Type: text/plain; charset=x-user-defined
Content-Transfer-Encoding: 7bit

D:\cygwin\bin>sh -c "echo $HOME"
/home/carastan

D:\cygwin\bin>sh -c "echo ~/bin"
~/bin

D:\cygwin\bin>sh -c "./cygpath -au ~/bin"
/usr/bin/~/bin

but

D:\cygwin\bin>bash -c "./cygpath -au ~/bin"
/home/carastan/bin

and

D:\cygwin\bin>cygpath -au ~/bin
/home/carastan/bin

work fine. Any ideas why?

Thanks,
Doru Carastan

===================================================== Edited ===
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri May 18 12:02:23 2001

WinNT Ver 4.0 build 1381 Service Pack 6

Path:   /usr/local/bin
        /usr/bin
        /bin
        /cygdrive/c/WINNT/system32
        /cygdrive/c/WINNT
        /cygdrive/c/Program Files/DevStudio/sharedide/bin
        /cygdrive/c/Program Files/DevStudio/VC/bin
        /home/carastan/bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/home/carastan'
USER = `carastan'
MAKE_MODE = `unix'
HOME = `/home/carastan'

d:\cygwin\bin  /usr/bin  system  binmode
d:\cygwin\lib  /usr/lib  system  binmode
d:\cygwin  /        system  binmode
C:\Temp  /tmp     system  binmode
c:    /cygdrive/c  user    binmode,noumount
d:    /cygdrive/d  user    binmode,noumount

Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\sh.exe

   73k 2001/05/02 d:\cygwin\usr\local\bin\cygltdl-3.dll
   45k 2001/04/25 d:\cygwin\bin\cygform5.dll
   17k 2001/01/07 d:\cygwin\bin\cyghistory4.dll
   14k 2000/10/23 d:\cygwin\bin\cygintl.dll
   45k 2000/10/22 d:\cygwin\bin\cygjbig1.dll
   26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll
   15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll
  108k 2001/01/07 d:\cygwin\bin\cygreadline4.dll
  631k 2001/04/25 d:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 1
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 38
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Tue Apr 24 20:01:02 EDT 2001
        shared id: cygwin1S3
--------------07B1B3A62AAA5B34E04AFA78
Content-Type: text/x-vcard; charset=x-user-defined;
 name="doru.carastan.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Doru Carastan
Content-Disposition: attachment;
 filename="doru.carastan.vcf"

begin:vcard 
n:Carastan;Doru
tel;work:+1-(408)-5421756
x-mozilla-html:FALSE
url:www.windriver.com
org:Wind River, Inc.;Platforms Business Unit
adr:;;201 Moffett Park Drive;Sunnyvale;CA;94089-1322;U.S.A.
version:2.1
email;internet:doru DOT carastan AT windriver DOT com
title:Member of Technical Staff/Project Manager
x-mozilla-cpt:;-5072
fn:Doru Carastan
end:vcard


--------------07B1B3A62AAA5B34E04AFA78
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
--------------07B1B3A62AAA5B34E04AFA78--

- Raw text -


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