X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=PrPJnb2YoRo8wQLnSEm1VyVqrKDwV LUOVSaNF6KbtZUvSm96zWIxKe1NjbfUpPjIMpLy63IqkdKa93U8+leXsdlT5c8pL 0NEz2B5abZz2GWlesVa9/H3OjlFyfO1Ik2iroZddAX1yFEG8rXkQI70W/uDPkBCE kiNtqHzyx4Gpx8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=oRMYO4VWD7MEu5YkRUv/7vexgTA=; b=N8n tsaewuU6x7GfxfjomShH3+Ra0HL6xAIS3sAwn32gwkCR02Cgo29rputuryxa6PJd CYzvOUbRuDnYV2Vs8mIB7nWUXp1er1vWZjD4FhggwbSoSbs4iy4Jfs3zN4AgObc6 SOO0C/pF7unJ4XTb3BOri60/8dsXEajRPZ/Hn1/A= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f172.google.com MIME-Version: 1.0 X-Received: by 10.236.113.199 with SMTP id a47mr29274229yhh.80.1399792669044; Sun, 11 May 2014 00:17:49 -0700 (PDT) Date: Sun, 11 May 2014 02:17:49 -0500 Message-ID: Subject: dd garbled output From: Steven Penny To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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