Re: git pull on ia64 linux tree
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Apr 27, 2005, 22:58 UTC
- Message-ID
- <20050427225821.GI22956@pasky.ji.cz>
- In-Reply-To
- <Pine.LNX.4.58.0504271525520.18901@ppc970.osdl.org>
Dear diary, on Thu, Apr 28, 2005 at 12:35:07AM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> told me that...
Show 8 quoted lines
> 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