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]

dd garbled output


Using this file

    $ cat file.txt
    hello
    doge
    world

I can run this command

    $ grep -v doge file.txt | dd conv=notrunc of=file.txt

and get output as expected

    $ cat file.txt
    hello
    world

However with Cygwin the end result is garbled

    $ cat infile.txt
    hello
    world
    orld

What is causing this?

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