This is the mail archive of the cygwin@cygwin.com 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: possible sed bug? (\r at EOL stripped in pipe [no file involved])


On Wed, Jan 23, 2002 at 09:43:10AM -0600, Tom Rodman wrote:
>The sed that I downloaded w/1.3.6 seems to strip the carriage return at
>EOL - nothing to do w/mount points; it is doing this in a pipe (no file
>involved).

sed is a text utility, so it considers \r\n on input to be equivalent to
\n.

Although, I find it odd that this message comes directly after another
message which apparently reporting the opposite...

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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