From: Petr Baudis Date: Wed, 27 Apr 2005 22:58:21 GMT Subject: Re: git pull on ia64 linux tree Message-ID: <20050427225821.GI22956@pasky.ji.cz> In-Reply-To: Dear diary, on Thu, Apr 28, 2005 at 12:35:07AM CEST, I got a letter where Linus Torvalds told me that... > One problem with this is that "grep" always thinks lines end in '\n', and > what we'd really want (from a scriptability angle) is > > diff-tree -z -r $orig $final | grep -0 '^-' > > but I don't think you can tell grep to think that lines are > zero-terminated instead of terminated with \n'. But I don't see how to do > that with grep. Actually, grep has -z parameter. ;-) Fixed and pushed out. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor