Web lists-archives.com

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@xxxxxxxxxx <cygwin-owner@xxxxxxxxxx> On Behalf Of Achim Gratz
Sent: 15 April 2019 21:51
To: cygwin@xxxxxxxxxx
Subject: Re: carriage return newline being appended when using redirection in binary mode

chris.day@xxxxxxxxxxx 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