bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26879: end-of-line issue with cygwin 4.4-1 sed 4.4


From: Dick Dunbar
Subject: bug#26879: end-of-line issue with cygwin 4.4-1 sed 4.4
Date: Fri, 12 May 2017 14:30:52 -0700

On Fri, May 12, 2017 at 2:12 PM, Eric Blake <address@hidden> wrote:

> if you are going to be littering your data with \r
> that should be ignored
>


I'm in the middle of writing another post.   Just want to point out that I
am
not the one who is making the decision to "litter" my data with \r.

Way above my pay grade.

Nor do I have any choice over Mac's third option for line-end chars.
I just have to handle the stuff that is diverted my way  for analysis.

AND I had always depended on cygwin's "least surprise" approach to
handling this stuff.  The compilers have long ago made peace with the
end-of-line-wars ... "if you can  figure it out, so can we"

It's just white space.

Good point about the byte-swapping observation in od output.
I'll have to make an "od" alias to enforce your flags.  I like it.

I posted that because I got really bad results using that example
on my mintty console.   When the lines are diverted to the screen
they print a trailing "#" and did not honor the LF to advance to the next
line.

Perhaps I'll run this again using the 'script' command, even if script does
add ^M at the end of each line.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]