[BUG REPORT]sed -e 's/[B-D]/_/g' replaces unexpected characters

2013-06-25 Thread Atry
fo:' PROGRAMFILES = 'C:\Program Files (x86)' NUMBER_OF_PROCESSORS = '4' SESSIONNAME = 'Console' FLEX_HOME = 'C:\apache_flex_sdk' COMPUTERNAME = 'YANGBOI5' _ = '/usr/bin/cygcheck' HKEY_CURRENT_USER\Console\C:_cygwin_bin_bash.exe (

Re: Cannot pass space arguments to BATs contains spaces.

2012-08-15 Thread Atry
Thanks. The cmd is really weird. 2012/8/14 Sean Daley > > On Mon, Aug 13, 2012 at 8:41 PM, Atry <> wrote: > > I execute following command in bash: > > > > echo 'echo %1' > 'hello world.bat' > > chmod +x 'hello world.bat

Cannot pass space arguments to BATs contains spaces.

2012-08-13 Thread Atry
I execute following command in bash: echo 'echo %1' > 'hello world.bat' chmod +x 'hello world.bat' './hello world.bat' 'There are some spaces.' And I got: 'C:\Users\Atry\hello' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

/etc/profile set $TMP to /tmp. It's insecure!

2012-01-17 Thread Atry
Original $TMP and $TEMP is unset in /etc/defaults/etc/skel/.bashrc version 3.9-3, which make %USERPROFILE% directory dirty. After some disscuss at http://cygwin.com/ml/cygwin/2011-03/msg00211.html, /etc/profile version 4.0-6 set $TMP and $TEMP to /tmp. Now any program start from bash, create tempor