Dear diary, on Thu, Apr 28, 2005 at 12:35:07AM CEST, I got a letter
where Linus Torvalds [off-list ref] 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