Web lists-archives.com

Re: sed end of line




On 15. 3. 2019 10:51, Timo Maier wrote:
Why do I need a second "." in the cygwin sed?

Hi Timo.

The difference is in echo.

$ /bin/echo "Hey" | /usr/bin/hexdump -C
00000000  48 65 79 0a                                       |Hey.|
00000004

C:\>echo Hey| c:\cygwin\bin\hexdump -C
00000000  48 65 79 0d 0a                                    |Hey..|
00000005

Vlado

--
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