cp doesnot copy in certain cases of slash (\)

2004-08-23 Thread Koduru, Seshasai
Hi, Following is the test case: START- C:\>c:\cygwin\bin\mkdir.exe -p c:\src c:\dst C:\>c:\cygwin\bin\touch.exe c:\src\newfile C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst /usr/bin/cp: cannot create regular file `c:\\dst/c:\\src\\newfile': No such file or directory C:\

environment variable name converted to upper case

2004-08-21 Thread Koduru, Seshasai
Hi, An environment variable name defined in windows environment with lowercase is converted to uppercase by cygwin environment. Following is the test case: -start-- C:\>set lowercase=Windows Variable C:\>echo %lowercase% Windows Variable C:\>which env /usr/bin/env C:\>env | gr

grep: $ in PATTERN doesn't seem to work properly

2004-08-21 Thread Koduru, Seshasai
Hi, When $ is used in the PATTERN of grep command, it doesn't seem to work properly on my machine. I have run the following under cygwin.bat shell. $ cat tmp Line 1 Line 2 Line 3 Line 4 Line 5 $ grep '1$' tmp (Gives no output. It should give output as Line 1) $ grep -e '1$ tmp (Gives no outpu