bash --login in Cygwin environment does not use %HOME% when doing tilde
From:
Axel B. Bregnsbo
Subject:
bash --login in Cygwin environment does not use %HOME% when doing tilde expansion.
Date:
Wed, 16 Feb 2005 12:48:00 +0100
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: i686-pc-cygwin-gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i688
6-pc-cygwin' -DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I.
-I/home/RLandheer/cygwin-contrr
ib/bash/2.05b-16/bash-2.05b
-I/home/RLandheer/cygwin-contrib/bash/2.05b-16/bash-2.05b/include
-I/home/RLandhh
eer/cygwin-contrib/bash/2.05b-16/bash-2.05b/lib -O2
uname output: CYGWIN_NT-5.0 WORK-ABB 1.5.10(0.116/4/2) 2004-05-25 22:07 i686
unknown unknown Cygwin
Machine Type: i686-pc-cygwin
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
When invoking bash on a Windows machine with the --login option, tilde
expansion is not done using the %HOME% environment variable.
Repeat-By:
Set HOME in the ControlPanel>System>Advanced>EnvironmentVariables>User
variables for abb
Invoke bash by calling bash.bat containing:
@echo off
c:
chdir C:\bin\cygwin\bin
bash --login -i
Axel B. Bregnsbo
ASIC Designer, M.Sc.EE
+45 44855990
abb@vitesse.com
----------------------
entropy is time symmetric