New sed in latest

Corinna Vinschen
Sat Jun 3 01:52:00 GMT 2000

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
output file.


Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list