This is the mail archive of the
mailing list for the Cygwin project.
Re: New sed in latest
Bob McGowan wrote:
> But sed writes to standard output. So the correct answer (I think) is
> that, to capture the "dos2unix" output, the script would need to be
> redirected to a file. If the file is in a binary mounted environment,
> then it will be UNIX format, if it is text mounted it would continue to
> be DOS format.
> Is this an accurate analysis?
Indeed. To get rid of the \r you only have to start sed now,
doing nothing but writing it's input to a binary mounted
Cygnus Solutions, a Red Hat company
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org