This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
0000000   G   o   o   d   b   y   e  \r  \n
0000011

Cheers

Chris Day


c: +44 7930 909 297
p: +44 115 714 0869
s: bigchrisday
https://www.linkedin.com/in/chrisdayabinitio/

-----Original Message-----
From: cygwin-owner@cygwin.com <cygwin-owner@cygwin.com> On Behalf Of Achim Gratz
Sent: 15 April 2019 21:51
To: cygwin@cygwin.com
Subject: Re: carriage return newline being appended when using redirection in binary mode

chris.day@pinky.co.uk writes:
> Path:	E:\abinitio\ab-installs\cc\controlcenter-3.3.5.1\bin
[…]
> 	E:\software\apache\apache-maven-3.6.0\bin

You cannot possibly want to have your PATH like this…

Anyway, in your Cygwin shell, set the PATH to just "/usr/bin:/usr/lib/lapack" and try again.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]