X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,MISSING_HEADERS X-Spam-Check-By: sourceware.org From: William Lebow CC: "cygwin AT cygwin DOT com" Date: Thu, 11 Mar 2010 13:12:41 -0500 Subject: RE: redirect-append (>>) creates garbage-y file Message-ID: <01499D518A9B6F4493FC5A2D32F7A4FC51B52C97D5@MB-EXBX01.north.pf.com> References: <01499D518A9B6F4493FC5A2D32F7A4FC51B52C97D4 AT MB-EXBX01 DOT north DOT pf DOT com> <1ef5a52f1003111000x17bd3716yb75d50a9f5db10 AT mail DOT gmail DOT com> In-Reply-To: <1ef5a52f1003111000x17bd3716yb75d50a9f5db10@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 echo foo | tee -a test3.txt : terminal output is okay but test3.text starts with 3 characters of garbage before the string foo echo foo | tee test4.txt : terminal output is okay and test4.txt is okay too So "tee -a" has the same issue as ">>" when creating a new file. BTW, I believe that the garbage characters that precede the text is an encr= ypted version of the text in the file. This Credant software is protecting my txt= files by encrypting them. -- Bill -----Original Message----- From: Csaba Raduly [mailto:rcsaba AT gmail DOT com]=20 Sent: Thursday, March 11, 2010 1:00 PM To: William Lebow Cc: cygwin AT cygwin DOT com Subject: Re: redirect-append (>>) creates garbage-y file On Thu, Mar 11, 2010 at 6:46 PM, William Lebow wrote: > Hi Csaba, > > Thank you very much for the reply. I've downgraded my version of cygwin s= o I > need to wait and do the test when I have a few minutes to reinstall the > newer one. Is the command you sent correct? I don't think tail has a "-a" > =A0option. That's because it should have been echo foo | tee -a test3.txt :( --=20 Life is complex, with real and imaginary parts -- 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