X-Spam-Check-By: sourceware.org From: "Peter Milne" To: Subject: problem concating (>>) to a large file Date: Fri, 25 May 2007 18:04:21 +1000 Message-ID: <001201c79ea3$4d82bce0$8500a8c0@RUSNAK> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-X-SpamDetect: : 0.000000 X-IP-stats: Incoming Last 0, First 92, in=758, out=0, spam=0 Known=true ip=203.56.186.192 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 I have a large file, let's call it A. I want to stick the contents of a small file (let's call it B) onto the end of A. Until recently in cygwin I could just type: cat B >> A and it did exactly what I wanted. Now though, presumably because A has gotten so large, when I do the above command the contents of file B get copied onto the front of file A rather than onto its end. I assume that A has become sufficiently large that a 64-bit file offset is needed to properly address it and that >> doesn't currently support this. If so this certainly seems like a short coming, perhaps even a bug. I updated my version of cygwin to the latest version but this didn't help. Is there a fix or workaround? cp A B > C then mv C A achieves what I want but is slow, inefficient and inconvenient. I'm not on the list, so please copy any replies to my email address. Thanks Peter -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/