public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: <chris.day@pinky.co.uk>
To: "'Achim Gratz'" <Stromeko@nexgo.de>,	<cygwin@cygwin.com>
Subject: RE: carriage return newline being appended when using redirection in binary mode
Date: Tue, 16 Apr 2019 06:39:00 -0000	[thread overview]
Message-ID: <001601d4f41f$1c62d670$55288350$@pinky.co.uk> (raw)
In-Reply-To: <874l6zvvov.fsf@Rainer.invalid>

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

  reply	other threads:[~2019-04-16  6:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15 20:25 chris.day
2019-04-15 20:51 ` Achim Gratz
2019-04-16  6:39   ` chris.day [this message]
2019-04-16 10:10   ` chris.day
  -- strict thread matches above, loose matches on Subject: below --
2019-04-15 20:01 chris.day
2019-04-15 11:56 chris.day
2019-04-15 12:18 ` Marco Atzeri
2019-04-15 15:52 ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601d4f41f$1c62d670$55288350$@pinky.co.uk' \
    --to=chris.day@pinky.co.uk \
    --cc=Stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).