sed end of line

Vlado v.99cygwin@gmail.com
Fri Mar 15 10:02:00 GMT 2019


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



More information about the Cygwin mailing list