Problem with mksh-56c-1 mksh and DOS path names ( CYGWIN 3.0.7(0.338/5/3))

2019-05-14 Thread chris.day
Hi - I'm having some challenges with the latest version mksh (mksh-56c-1) and the support of DOS path names. Seems this is broken, although POSIX names work as expected. chrisd@edmund:chrisd > cd E:/temp /usr/bin/mksh: cd: /home/chrisd/E:/temp: No such file or directory Running an olde

RE: carriage return newline being appended when using redirection in binary mode

2019-04-16 Thread chris.day
Hi Brian, Marco, Achim - Thank you for you help. I've diagnosed the problem with an antiquated version of ksh, which I've now moved up to the mksh 56c1 release. All works now. Cheers Chris c: +44 7930 909 297 p: +44 115 714 0869 s: bigchrisday https://www.linkedin.com/in/chrisdayabinitio/

RE: carriage return newline being appended when using redirection in binary mode

2019-04-15 Thread chris.day
Hi Achim - PATH changed to no avail chrisd@edmund:chrisd > export PATH=/usr/bin:/usr/lib/lapack chrisd@edmund:chrisd > sed 's/Hello/Goodbye/' foo.txt > boo.txt chrisd@edmund:chrisd > od -c boo.txt 000 G o o d b y e \r \n 011 Cheers Chris Day c: +44 7930 909 297 p: +44

Re: carriage return newline being appended when using redirection in binary mode

2019-04-15 Thread chris.day
H Brian , Marco - Output from type and which and cygcheck.out attached chrisd@edmund:chrisd > type -a echo /usr/bin/ksh: whence: -a: unknown option chrisd@edmund:chrisd > which -a echo /usr/bin/echo /usr/bin/echo This behaviour of the redirection can also be replicated using sed, etc. chrisd@ed

RE: carriage return newline being appended when using redirection in binary mode

2019-04-15 Thread chris.day
H Brian - Output from type and which chrisd@edmund:chrisd > type -a echo /usr/bin/ksh: whence: -a: unknown option chrisd@edmund:chrisd > which -a echo /usr/bin/echo /usr/bin/echo This behaviour of the redirection can also be replicated using sed, etc. chrisd@edmund:chrisd > od -c foo.txt 00

carriage return newline being appended when using redirection in binary mode

2019-04-15 Thread chris.day
Hi - I'm having problems with carriage return newline being appended when using redirection in binary mode. If I pipe to cat and redirect the newline is preserved, which is odd. CYGWIN_NT-10.0 edmund 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 Cygwin chrisd@edmund:chrisd > mount E:/abinitio/cygwin/

RE: Problem with effective permissions -rw----rw-+

2018-12-22 Thread chris.day
I think I've resolved this for now, as the Windows ACL's were a little off and I reset using ICACLS * /T /Q /C /RESET Cheers Chris -Original Message- From: cygwin-ow...@cygwin.com On Behalf Of cyg Simple Sent: 22 December 2018 16:50 To: cygwin@cygwin.com Subject: Re: Problem with effe

Problem with effective permissions -rw----rw-+

2018-12-22 Thread chris.day
I'm facing a problem with effective permissions, where the group permission is unset; chrisd@edmund:tmp > touch dummy;ls -l dummy;getfacl dummy -rwrw-+ 1 chrisd None 0 Dec 22 10:22 dummy # file: dummy # owner: chrisd # group: None user::rw- group::rw- #effective:--- group:Administ