This is the mail archive of the
cygwin
mailing list for the Cygwin project.
dd garbled output
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 11 May 2014 02:17:49 -0500
- Subject: dd garbled output
- Authentication-results: sourceware.org; auth=none
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