On 2019-03-15 04:03, Soegtrop, Michael wrote: > you are mixing a DOS echo which will produce a \r\n line ending with a > Cygwin sed which expects \n line endings. The second . matches the \r. > Either work in bash and use Cygwin echo or use a MinGW compile of sed or > strip the \r e.g. with tr or maybe match it more explicitly with a \r.
Or use Cygwin printf "%s\n" "Hey" to avoid differing echo output. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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