This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]